Access Methods
Use the Access features with the following methods.
-
checkIntegUserAccessToArrayOfSObjectFields. Checks an array of sObjectFields from a template answer and returns a list of fields the Integration User doesn’t have access to. Requires the variable name,WaveTemplateInfo, andAnswers: -
getCountOfRecordsAsIntegUser. Returns the number of records visible to the Integration User. Use this method to gauge if the number of records is high enough to continue with template processing. There’s a limit of 10K rows. Requires the sObject name to use for the count: -
integUserHasAccessToSObjectField. Checks an sObjectField answer to verify that the Integration User has access to it. Requires the variable name,WaveTemplateInfo, andAnswers: -
integUserHasAccessToSObjectField. Checks a single sObject and one of its fields to verify that the Integration User has access to it. Requires the sObject name andWaveTemplateInfo: