You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you read that right. We no longer need to hide javascript in a Visualforce page that manually sends Web Service messages to create the Remote Site Setting.
Hallelujah! Somehow, I believe this was somehow an @afawcett effect, his orchestrations with Salesforce finally resulted in true progress, and probably an easier code review as well.
public String endpoint_x = URL.getOrgDomainUrl().toExternalForm() + '/services/Soap/m/42.0';
Hark the herald angel's sing, say goodbye to Remote Site Setting (okay, it doesn't quite work, but you know what i mean)
The text was updated successfully, but these errors were encountered:
I fixed this in this Pull Request #224 which is still not merged in. I fear since @afawcett left Financilforce nobody is taking care of this project anymore.
Thanks for this message. I hadn't realized he left there. I did get one
response from him about this on his blog, though, so he still occasionally
looks at it. Maybe SFDC told him to stop supporting it as it competes with
their own Metadata API.
https://github.com/financialforcedev/apex-mdapi/blob/526f8811d6e5ad4a86582ffa1ddb68ca99d2deda/apex-mdapi/src/classes/MetadataService.cls#L13193
Verified today that using Apex with mdapi (not Lightning Javascript + Named Credential) can now successfully call the Salesforce Metadata WebService without needing an entry in Remote Site Settings. See the Winter '19 release notes:
https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_apex_streamline_api_calls.htm
Yes, you read that right. We no longer need to hide javascript in a Visualforce page that manually sends Web Service messages to create the Remote Site Setting.
Hallelujah! Somehow, I believe this was somehow an @afawcett effect, his orchestrations with Salesforce finally resulted in true progress, and probably an easier code review as well.
public String endpoint_x = URL.getOrgDomainUrl().toExternalForm() + '/services/Soap/m/42.0';
Hark the herald angel's sing, say goodbye to Remote Site Setting (okay, it doesn't quite work, but you know what i mean)
The text was updated successfully, but these errors were encountered: