function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Don I U WanigasundaraDon I U Wanigasundara 

Creating a link to a custom object

Hello I am trying to create a link to a child object on the parent object, so it is easy for the users who use Salesforce1 to create a new child object, the object has multiple record types. Child object create new URL is as follows 

https://na10.salesforce.com/setup/ui/recordtypeselect.jsp?ent=01IF0000002XQff&retURL=%2Fa17F000000SKana&save_new_url=%2Fa18%2Fe%3FCF00NF000000D4fUi%3DBW-080915-001%26CF00NF000000D4fUi_lkid%3Da17F000000SKana%26retURL%3D%252Fa17F000000SKana

I am having a hard time creating the hyperlink, Any help would be much appreciated. 
KRayKRay

Hey Don, I may have an easier solution.

  1. Create a tab for the child object.
  2. Give the user "read" and "create" permission to the child object.
  3. Assign the record types to the user via profile or permission set
  4. Move the tab up the later via Mobile Administration -> Mobile Navigation settings. NOTE: Move it above the "smart search items". This will ensure that the tab appears above the "Recent" list in the mobile navigation menu

Now, when a user logs into SF1, the child tab will be one of the first tabs in the navigation menu. 

  1. The user clicks on the tab, the "New" button will be available.
  2. When the user taps "New", SF1 will prompt them to select a record type.
  3. After a record type has been selected, the user is free to create the child record and select it's parent record.


I hope this helps.