You need to sign in to do that
Don't have an account?
Can I Default the Parent ID on a Child Record?
I have two custom objects in a master-detail relationship. I have a custom button on the parent that creates a specific instance of the child object, with appropriate defaulting. The defaults are working, finally -- this was amazingly hard, is this documented anywhere? -- but for some reason I cannot default the parent ID on the child record.
Is this possible?
Here's the syntax for the custom button:
{!URLFOR($Action.License__c.New)}&00N80000003KBfL=1&00N80000003KBSF={!TODAY() + Package__c.Trial_Days__c}&00N80000003KBQT={!Package__c.Id}
Am I doing something wrong? The parent ID is Package__c.Id. (This doesn't use the standard URLFOR syntax because my custom fields start with a zero.)
TIA,
John
This worked:
{!URLFOR($Action.License__c.New)}&00N80000003KBfL=1&00N80000003KBSF={!TODAY() + Package__c.Trial_Days__c}&CF00N80000003KBQT={!Package__c.Name}
Is this stuff documented anywhere?
All Answers
This worked:
{!URLFOR($Action.License__c.New)}&00N80000003KBfL=1&00N80000003KBSF={!TODAY() + Package__c.Trial_Days__c}&CF00N80000003KBQT={!Package__c.Name}
Is this stuff documented anywhere?