function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Koen (BvD)Koen (BvD) 

packaging and security controls / remote site settings

I created a package that calls a webservice. To make this work, I had to add the domain of the webservice to security controls / remote site settings. Now I am ready to package my code and was wondering how to communicate this requirement. Ideally I would somehow from the package installation get this setting included, probably with some accept dialog box for the user (as I can imagine it would not be secure if I would be able to change this without the administrator accepting this change)

 

What would be the best way to go about this?

 

Koen.

gv007gv007

As per my knowladge they is no way including the remote URL in the package right now we have 2 options.

 

1.Tell the user it in release notes.

2.Need to develop a new componts that allow the admin configuring the URL auttomatically pressing some button or tab.

Koen (BvD)Koen (BvD)
Placing a button in a component would be ok for me, but I don't see how I can add a Remote Site from the code. I looked through the objects and the closest I found was the Site object, but I don't see that this is related. How would I add a Remote Site from the code?