Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
addCredentialField and nlapiRequestURLWithCredentials, can't get them to work
NetSuite suggests to use addCredentialField to save password for a foreign site, and use nlapiRequestURLWithCredentials to send the password to the foreign site to authenticate so that the password is encrypted and not available for a developer to retrieve on NetSuite side. However, I was not able to get it to work.
Here is an example scenario, crafted according to NetSuite document examples:
1. my remote site password is abc123
2. my remote site is https://www.example.com
3. I create an addCredentialField field, and put the value 'abc123', NetSuite only gives me GUID '8ABE039DC0DF4453156805CDD18D1E26' when I try to retrieve the value, which is fine and by design.