Is there any way to fetch all custom fields of cus...
# suitecommerce
s
Is there any way to fetch all custom fields of customer record for SCA mont blanc version? I tried the customer methods but it didn't work for me.
p
(in profile backend model, get function... customer.getCustomFieldValues() )
Be aware that they come as an array, not as a hashMap
s
@PabloZ i tried but it kept returning null.
p
The API has worked for me "consistently" (some caveats apply but not for reading them), so the issue is either code or configuration.
s
Configuration ??
p
• Are you on a https site, with a logged in customer? • Have you checked "Webstore" in the custom entity field?
s
Yes i am on a https site. But i have to check abiut second point. Thanks @PabloZ
p
"Web Site" is the actual label of the property.