Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help article to use named credentials with wrapper has been removed #280

Open
amy-herz opened this issue Mar 2, 2022 · 1 comment
Open

Comments

@amy-herz
Copy link

amy-herz commented Mar 2, 2022

The link
Using Named Credentials with the Apex Wrapper Salesforce Metadata API (apex-mdapi)

has been removed and I was planning to use these steps to allow users to update a list view through the metadata service within a transaction rather than giving them permissions to modify metadata all the time.

This leads me to wonder why it was removed - was it a working solution that I should still attempt without having the steps for reference anymore? Was it removed because it was not a viable solution? Is there a better solution available or should I not attempt something like this?

To explain my use case more - I created a LWC button that passes a record ID and uses the metadata service to update a specific list view to filter based off of the record ID. This works fabulously for admins but not standard users without the correct permissions. I would love a way to allow for these permissions to update the list view through the metadata api only while the transaction is running. The blog post if I remember correctly suggested creating a connected app, using named credentials of a user with a profile that has these permissions to essentially "log in" as them while the transaction runs.

@selkasse
Copy link

selkasse commented Nov 6, 2023

I wonder if maybe the link is just bad. I searched the title of the article, and found a very similarly-named one from the same domain -- might be the same one:

https://gscloudsolutions.com/tips-tricks/using-named-credentials-with-the-apex-wrapper-salesforce-metadata-api/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants