+ Start a Discussion
Nethra RaghupathyNethra Raghupathy 

Insert Remote Site Setting from post install script

I have a lightning app which has the remote site settings dynamic.
So, is it a good practice to use metadataService.class (http://technome2.blogspot.com/2017/05/creating-remote-site-settings.html) in post-installation script to add remote site settings for the org?
Raj VakatiRaj Vakati
Its nor required always .. 

i can suggest you can do it as part of migration using change set or 
you can add them manually or update them manually 


or you can use even named credentials  


writing this type of code is not recommended 
Nethra RaghupathyNethra Raghupathy
Raj, For me I can't add remote site settings manually because the URL is changing based on the client deployment I make. To use named credentials also i should have the URL fixed right?
This is how my URL is, http://xxx-xx.<dynamic>.xx-xx-x.xxxxxxxx.xxx
dynamic section changes based on the client deployement.

please correct me if I'm wrong. 
Jamie JonesJamie Jones
You will find some great resources on packaging and package development on the Partner Community.

https://www.mcdvoice.onl/
Ava EthaniAva Ethani
You can learn a lot from the internet all the things are available online on dfferent websites like Youtube. And for your convenience you can also open this developers community website Customers Satisfaction Survey (http://www.customerssatisfactionsurvey.com/)
Ava EthaniAva Ethani
I also find another great website for online learning for you check bellow
WalmartOne (http://walmartonelogin.org/)
 
jadun jdjadun jd
For fashion accessories and clothing, visit dollar general stores in the USA. You will satisfy after shopping at dollar general stores. Visit dgcustomerfirst com $100 gift card survey (https://dgcustomerfirst-com.com/) site for giving your valuable feedback and win $100.
denial gonjalvish 4denial gonjalvish 4
One that is quite common is to automate post package installation tasks such as ... That is to create the Remote Site Setting to ironically allow the native Apex code to call a .... script >. function createRemoteSite().
https://mcdvoice.today/ https://customersurvey.onl/ https://detroit-electric.co.uk/
myfestiv alsalesmyfestiv alsales
I actually have a shop and I sell merchandise what I DO have in stock and what Distributors have in stock..
deltanet (https://onesiti.com/)
Chuck BurtonChuck Burton
Your One-Stop-Shop for Professional Moving and storage Vancouver, Professional Movers, Furniture, Office and Long Distnace. Packing Services, Moving Supplies, Moving Bin Rental, Boxes & More. https://www.1promovingandshipping.com/
Berdeguez DianeBerdeguez Diane
I like your posts and I like a post you are most information and This is really great work. 
website (https://medium.com/@berdeguezd/tims-hortons-survey-6e0fb4323e5e)
Jack MartinJack Martin
Nice post, please visit https://takesurvery.com/
moli hajmoli haj
blackmart apk (https://blackmart.online/) is the best and free android app to download Paid Android apps to your smartphone. Blackmarket Alpha also have it’s own Appstore which provide you one click installation of any paid android app for absolutely free.
Content WriterContent Writer
Thanks! This is exactly what I was looking for. My organization has been using Salesforce for quite some time now and I believe that this solution will work. 
Technical Content Writer (https://ninadpathak.com) - Ninad Pathak (https://ninadpathak.com)
Lakudra BledeLakudra Blede
Erotic entertainment use, inclination for porno sex cams (https://www.sexcams.club/" target="_blank) , masturbation, and sexual and relationship fulfillment were surveyed among two examples of men. Visit xvideos videos (https://www.xvideos.tube/" target="_blank) entertainment use was related with sexual disappointment, more noteworthy inclination for pornlike sex, and increasingly visit masturbation in the two investigations. Sex entertainment use was related with relationship disappointment in porn movies xnxx (https://www.xnxx.top/" target="_blank) it were. The information didnt bolster the thought that sex entertainment contrarily impacts sexual or relationship fulfillment. By means of inclination for porn videos xhamster (https://www.xhamster.llc/" target="_blank) , truth be told, it might support sexual fulfillment by advancing sexual assortment. The information were steady with a model in which live sex chaturbate (https://www.chaturbates.net/" target="_blank) entertainment adversely, in a roundabout way influences sexual and relationship fulfillment by means of masturbation recurrence. Investigating erotic shemales porn (https://www.shemalecamspro.com/" target="_blank) effect on sentimental connections is a moderately ongoing improvement in sex entertainment look into writing. It is contended that presentation to the messages contained inside hotfallingdevil sex cam (https://www.sexcams.club/cam/hotfallingdevil/" target="_blank) erotic entertainment makes an inclination for the sorts of sexual practices. They drives littlesubgirl porno (https://www.sexcams.club/cam/littlesubgirl/" target="_blank) clients to feel explicitly disappointed when their inclinations are not met by their sexual accomplices. Another chance is that it cant to the messages contained inside naughtyelle erotic (https://www.sexcams.club/cam/naughtyelle/" target="_blank) entertainment however visit masturbation, which results from visit sex entertainment use. That undermines shoppers sentiments of sexual siswet19 (https://www.sexcams.club/cam/siswet19/" target="_blank) fulfillment by contrarily affecting sexual execution, arousability, or sentiments of sexual enthusiasm toward ones accomplice. To begin with, it intends to duplicate and broaden existing examination by evaluating the level of relationship between anabel054 sex cam (https://www.sexcams.club/cam/anabel054/" target="_blank) use and sexual fulfillment. Various connection considers have been led looking at the relationship between migurtt porno (https://www.sexcams.club/cam/migurtt/" target="_blank) entertainment use and relationship and sexual fulfillment.
amelia pearlamelia pearl
this is one of the great site where i find lot of solutions to my issues  mcdvoice (https://www.mcdvoice.to/)
will basewill base
McDonald’s finds it crucial to provide consistent customer experience and satisfaction with its menu, service, facilities and all other aspects. Participate in McDVOICE customer survey. https://mcdvoice.win
 
ravindar shahravindar shah
How can I download my Aadhar card?
e-Aadhar Card Download by Using Enrolment Number (EID)
Step 1: Visit order aadhar reprint (https://www.downloadeaadhar.online/2019/12/order-aadhaar-reprint-at-uidai.html)
Step 2: Click “Download Aadhaar” option.
Step 3: You will be redirected to https://eaadhaar.uidai.gov.in/
Step 4: Enter your 14-digit enrolment ID number and 14-digit time and date values.
Tommy ShelbyTommy Shelby
You will find some great resources on packaging and package development on the Partner Community.
https://www.mcd-voicex.com/