Skip to main content

Posts

Showing posts from October, 2024

ServiceNow: using Name-Pair Fields

 ServiceNow: using Name-Pair Fields you can use these for complete flexibility for populating fields as per key-value principle, similar to a JSON object   you populate the field using JSON.stringify:   setGlidePathNamePair();   function setGlidePathNamePair(){     var cmdbSYSID='1d68955ffb1d1a102478f4ff4eefxxxx';     var gp_payload = {             "TenantID": "xxxxxxx-4718-4590-a921-f17e37f1799a",             "APPREQUEST_ApplicationName": "example",             "APPREQUEST_FederationType": "SAML",             "CLAIMSREQUEST_Attributes_email": "email1",             "CLAIMSREQUEST_Attributes_givenname": "givenName1",             "CLAIMSREQUEST_Attributes_surname": "surname1",             "CLAIMSREQUEST_Attributes_upn": "upn1",             "SIGNINGCERTREQUEST_LifeSpanDays": "160"         };