Skip to main content
Solved

Relationship Associated Fields limit being caused by JSON text string

  • May 1, 2018
  • 1 reply
  • 73 views

minh_phan
Forum|alt.badge.img
  • Gainsight Employee ⭐️⭐️
  • 89 replies

Hi Jennifer,

 

Please find below a quick summary of the JSON query issue.  Please let me know if you have any questions or need any additional details.

 

  • For each offer there’s a corresponding record in the “Relationship Type” object (e.g. NGFW, ISE, etc.)[list]
  • In this object, there is an “Attributes” field that stores a JSON query (please refer to screenshot below)
[/list]  

  • When fields in the “GS Relationship” object (R360) are associated with a Relationship Type, the field’s label and API are added to the JSON query and stored in the “Attributes” field
 

  • The “Attributes” field is a long text area type field with a maximum of 32.768 characters, the maximum allowed by Salesforce
 

  • As more “GS Relationship” fields are associated with a Relationship Type, the length of the JSON query increases and reaches the limit of 32,768 characters (please refer to sample JSON query below)[list]
  • We are near the character limit for NGFW and are having issues adding associating additional fields with the NGFW Relationship Type in our Dev environment
  • Possible short term work around – decrease the length of some GS Relationship field labels and APIs in order to truncate the length of the JSON query for more breathing room.  NOTE: This would only be done for fields that are not already displayed on the R360.  Updating APIs for fields that are already displayed entails a large amount of re-work in configuration and testing.
[/list]  

Thanks,

Cassidy

 

“Attributes” field in “Relationship Type” object where JSON Query is stored:

[i]

 

Sample JSON Query containing many field labels and APIs:

[i]

Best answer by minh_phan

Delivered patch Version # is SFDC-5.10-H8.

We checked on performance and there will be no impact on 360 pages. In configuration screen (Admin-Relationship-Fields) you may see a delay in getting those fields as the payload increases with the addition of more fields per relationship type. 
View original
Did you find this topic helpful?

1 reply

minh_phan
Forum|alt.badge.img
  • Author
  • Gainsight Employee ⭐️⭐️
  • 89 replies
  • Answer
  • May 1, 2018
Delivered patch Version # is SFDC-5.10-H8.

We checked on performance and there will be no impact on 360 pages. In configuration screen (Admin-Relationship-Fields) you may see a delay in getting those fields as the payload increases with the addition of more fields per relationship type. 

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings