You need to sign in to do that
Don't have an account?
Dushyant srivastava 8
Is there a way to redirect to Salesforce New Custom Field Page.
Hi,
I was trying to redirect a VF to New Custom Field Page and i figured out that "www.{baseurl}/p/setup/field/NewCustomFieldStageManager?entity={enitity ID}" is the URL. BUt not able to understand what exactly is Entity here for Standard objects it there API name i guess but not sure what its for Cutsom object because there is a 15 digit id when you see it.
Anyone knows what enitity id is and how to get that or how to redirect to the page attached bellow in an image, Please let me know that will be a great help.
I was trying to redirect a VF to New Custom Field Page and i figured out that "www.{baseurl}/p/setup/field/NewCustomFieldStageManager?entity={enitity ID}" is the URL. BUt not able to understand what exactly is Entity here for Standard objects it there API name i guess but not sure what its for Cutsom object because there is a 15 digit id when you see it.
Anyone knows what enitity id is and how to get that or how to redirect to the page attached bellow in an image, Please let me know that will be a great help.
The entity and the Id you are referring to here is CustomObjectDefinition.
I verified this by executing the following code in my developer org
Output - 12:58:02:003 USER_DEBUG [2]|DEBUG|object is CustomEntityDefinition
You can find the Object type from Record ID prefix here
If you find this information helpful, please mark this answer as Best. It may help others in the community. Thank You!
Anudeep