Zum Hauptinhalt gehen

Access site custom properties from a workflow

Kommentare

3 Kommentare

  • Berend Veldkamp
    Yes. You can do a webrequest to the site's REST endpoint and then parse the resulting JSON:
    1. Add a GetRequestInfo to the workflow
    2. Use a WebRequest with Uri = requestInfo.ApplicationUri & "/Sites/YOURSITEID" and parameter f="json". If the site is protected, also add a parameter named token with value requestinfo.Token
    3. Use GetTextFromBytes to convert the Byte array to a string
    4. Use GetJsonValue to parse the properties of the site
    0
  • Robert Driessen
    Thank you Berend, I will give that a try.  Much appreciated.
    0
  • Robert Driessen
    Just confirming that it worked as promised.  Thanks again Berend
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.