Any way to create a link to a custom setting's “manage” page?Regarding VF page to custom settingsCustom knowledge:articleList not workingVisualForce page doesn’t show up as an option after I create new buttonHow to open in lightning experience a custom visualforce page that requires parameters?Is there any way to deploy list views for custom settings through Metadata API?How to determine page mode (Edit/View) in Lightning ExperienceUnable to pass Custom Parameters to a Visualforce Page via URL button in Lightning Experienceapex:outputLink target=“_blank” from VF in Lightning now opens records in a Classic viewSteps to open a visualforce page WITHIN a lightning experience tab?Is this url “https://sfIntace.visual.force.com/apex/VFpage” is Lightning or classic
Can U.S. Tax Forms Be Legally HTMLified?
How can I tell the difference between unmarked sugar and stevia?
Winning Strategy for the Magician and his Apprentice
Is it possible to have the age of the universe be unknown?
Implement Own Vector Class in C++
How do governments keep track of their issued currency?
You have (3^2 + 2^3 + 2^2) Guesses Left. Figure out the Last one
Is a lack of character descriptions a problem?
What can I, as a user, do about offensive reviews in App Store?
With Ubuntu 18.04, how can I have a hot corner that locks the computer?
What is the highest possible temporary AC at level 1, without any help from others?
How is John Wick 3 a 15 certificate?
How to draw a Technology Radar?
What is the actual quality of machine translations?
How does an ordinary object become radioactive?
Is it expected that a reader will skip parts of what you write?
A IP can traceroute to it, but can not ping
Generate basis elements of the Steenrod algebra
How to tell your grandparent to not come to fetch you with their car?
Rebus with 20 song titles
Does Disney no longer produce hand-drawn cartoon films?
Can Rydberg constant be in joules?
Paying more mana for a Flashed creature
Group Integers by Originality
Any way to create a link to a custom setting's “manage” page?
Regarding VF page to custom settingsCustom knowledge:articleList not workingVisualForce page doesn’t show up as an option after I create new buttonHow to open in lightning experience a custom visualforce page that requires parameters?Is there any way to deploy list views for custom settings through Metadata API?How to determine page mode (Edit/View) in Lightning ExperienceUnable to pass Custom Parameters to a Visualforce Page via URL button in Lightning Experienceapex:outputLink target=“_blank” from VF in Lightning now opens records in a Classic viewSteps to open a visualforce page WITHIN a lightning experience tab?Is this url “https://sfIntace.visual.force.com/apex/VFpage” is Lightning or classic
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
In a custom (Visualforce) setup page, I would like to provide links that open the "Manage" view for some of our custom settings.
Can URLFOR (or some other mechanism) provide such a URL? This also needs to work in Lightning Experience.
visualforce customsetting urlfor
add a comment |
In a custom (Visualforce) setup page, I would like to provide links that open the "Manage" view for some of our custom settings.
Can URLFOR (or some other mechanism) provide such a URL? This also needs to work in Lightning Experience.
visualforce customsetting urlfor
add a comment |
In a custom (Visualforce) setup page, I would like to provide links that open the "Manage" view for some of our custom settings.
Can URLFOR (or some other mechanism) provide such a URL? This also needs to work in Lightning Experience.
visualforce customsetting urlfor
In a custom (Visualforce) setup page, I would like to provide links that open the "Manage" view for some of our custom settings.
Can URLFOR (or some other mechanism) provide such a URL? This also needs to work in Lightning Experience.
visualforce customsetting urlfor
visualforce customsetting urlfor
asked 8 hours ago
Keith CKeith C
98.2k11100232
98.2k11100232
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you simply navigate to Setup > Custom Settings, and then copy the Manage link, it will look like below:
https://some-domain.my.salesforce.com/setup/ui/listCustomSettingsData.apexp?id=a02
So it should be fairly easy to generate programatically in Apex.
String relativePath = '/setup/ui/listCustomSettingsData.apexp';
String queryString = '?id=' + SObjectType.My_Setting__c.getKeyPrefix();
String manageUrl = URL.getOrgDomainUrl() + relativePath + queryString;
If you are creating this link in Visualforce and don't want to use Apex, I think it should still work using the $ObjectType global variable.
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
ACustom Labelwould be more appropriate here if that sort of configurability is desired.
– Adrian Larson♦
6 hours ago
add a comment |
Managing Custom Settings in Lightning are always a challenge in my view. I would suggest taking a look at what Salesforce.org does here in the NPSP Package:
Basically, they created a wrapper VF page that then lets you navigate to each setting that lives in its own included VF page, and you can then edit/update with a simple shared controller. Yes, it is more overhead, but I just implemented it for someone else who had a bunch of settings for their managed package, and it provides a simple interface to update all custom settings.
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "459"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f264877%2fany-way-to-create-a-link-to-a-custom-settings-manage-page%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you simply navigate to Setup > Custom Settings, and then copy the Manage link, it will look like below:
https://some-domain.my.salesforce.com/setup/ui/listCustomSettingsData.apexp?id=a02
So it should be fairly easy to generate programatically in Apex.
String relativePath = '/setup/ui/listCustomSettingsData.apexp';
String queryString = '?id=' + SObjectType.My_Setting__c.getKeyPrefix();
String manageUrl = URL.getOrgDomainUrl() + relativePath + queryString;
If you are creating this link in Visualforce and don't want to use Apex, I think it should still work using the $ObjectType global variable.
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
ACustom Labelwould be more appropriate here if that sort of configurability is desired.
– Adrian Larson♦
6 hours ago
add a comment |
If you simply navigate to Setup > Custom Settings, and then copy the Manage link, it will look like below:
https://some-domain.my.salesforce.com/setup/ui/listCustomSettingsData.apexp?id=a02
So it should be fairly easy to generate programatically in Apex.
String relativePath = '/setup/ui/listCustomSettingsData.apexp';
String queryString = '?id=' + SObjectType.My_Setting__c.getKeyPrefix();
String manageUrl = URL.getOrgDomainUrl() + relativePath + queryString;
If you are creating this link in Visualforce and don't want to use Apex, I think it should still work using the $ObjectType global variable.
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
ACustom Labelwould be more appropriate here if that sort of configurability is desired.
– Adrian Larson♦
6 hours ago
add a comment |
If you simply navigate to Setup > Custom Settings, and then copy the Manage link, it will look like below:
https://some-domain.my.salesforce.com/setup/ui/listCustomSettingsData.apexp?id=a02
So it should be fairly easy to generate programatically in Apex.
String relativePath = '/setup/ui/listCustomSettingsData.apexp';
String queryString = '?id=' + SObjectType.My_Setting__c.getKeyPrefix();
String manageUrl = URL.getOrgDomainUrl() + relativePath + queryString;
If you are creating this link in Visualforce and don't want to use Apex, I think it should still work using the $ObjectType global variable.
If you simply navigate to Setup > Custom Settings, and then copy the Manage link, it will look like below:
https://some-domain.my.salesforce.com/setup/ui/listCustomSettingsData.apexp?id=a02
So it should be fairly easy to generate programatically in Apex.
String relativePath = '/setup/ui/listCustomSettingsData.apexp';
String queryString = '?id=' + SObjectType.My_Setting__c.getKeyPrefix();
String manageUrl = URL.getOrgDomainUrl() + relativePath + queryString;
If you are creating this link in Visualforce and don't want to use Apex, I think it should still work using the $ObjectType global variable.
answered 8 hours ago
Adrian Larson♦Adrian Larson
113k19126266
113k19126266
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
ACustom Labelwould be more appropriate here if that sort of configurability is desired.
– Adrian Larson♦
6 hours ago
add a comment |
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
ACustom Labelwould be more appropriate here if that sort of configurability is desired.
– Adrian Larson♦
6 hours ago
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
We have been burned a lot by this sort of URL hacking failing in Lightning so was wondering if there is a documented API approach.
– Keith C
8 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
@KeithC - if you've been burned by doing this programmtically in the past, can you store the URL for the custom setting in your custom setting (or another custom setting)?
– Ohana
7 hours ago
A
Custom Label would be more appropriate here if that sort of configurability is desired.– Adrian Larson♦
6 hours ago
A
Custom Label would be more appropriate here if that sort of configurability is desired.– Adrian Larson♦
6 hours ago
add a comment |
Managing Custom Settings in Lightning are always a challenge in my view. I would suggest taking a look at what Salesforce.org does here in the NPSP Package:
Basically, they created a wrapper VF page that then lets you navigate to each setting that lives in its own included VF page, and you can then edit/update with a simple shared controller. Yes, it is more overhead, but I just implemented it for someone else who had a bunch of settings for their managed package, and it provides a simple interface to update all custom settings.
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
add a comment |
Managing Custom Settings in Lightning are always a challenge in my view. I would suggest taking a look at what Salesforce.org does here in the NPSP Package:
Basically, they created a wrapper VF page that then lets you navigate to each setting that lives in its own included VF page, and you can then edit/update with a simple shared controller. Yes, it is more overhead, but I just implemented it for someone else who had a bunch of settings for their managed package, and it provides a simple interface to update all custom settings.
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
add a comment |
Managing Custom Settings in Lightning are always a challenge in my view. I would suggest taking a look at what Salesforce.org does here in the NPSP Package:
Basically, they created a wrapper VF page that then lets you navigate to each setting that lives in its own included VF page, and you can then edit/update with a simple shared controller. Yes, it is more overhead, but I just implemented it for someone else who had a bunch of settings for their managed package, and it provides a simple interface to update all custom settings.
Managing Custom Settings in Lightning are always a challenge in my view. I would suggest taking a look at what Salesforce.org does here in the NPSP Package:
Basically, they created a wrapper VF page that then lets you navigate to each setting that lives in its own included VF page, and you can then edit/update with a simple shared controller. Yes, it is more overhead, but I just implemented it for someone else who had a bunch of settings for their managed package, and it provides a simple interface to update all custom settings.
answered 8 hours ago
BritishBoyinDCBritishBoyinDC
9,39612865
9,39612865
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
add a comment |
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
Thanks for this; probably a bit too much work for my case but good to know.
– Keith C
7 hours ago
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f264877%2fany-way-to-create-a-link-to-a-custom-settings-manage-page%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown