User bio
404 bio not found
Member since Jun 2, 2017
Replies:

If you're expecting those keys to be defined in the first element of the "items" array like the example code, you can do this:

If responseData.items.%GetTypeOf(0) = "object" {
  Set pResponse.COMPortalURL = responseData.items.%Get(0).portalUrl
}

This assumes that "items" will always be present and be an array. It checks if the first element of "items" is a nested object, and then sets the target object property to the value of portalUrl in the nested "items" object. You don't need to check if portalUrl is defined since referencing an unassigned key in a %DynamicObject will return the empty string instead of <UNDEFINED>.

Certifications & Credly badges:
Brett has no Certifications & Credly badges yet.
Global Masters badges:
Brett has no Global Masters badges yet.
Followers:
Following:
Brett has not followed anybody yet.