CRM On Demand - Administration (MOSC)

MOSC Banner

What is the html code to auto-populate two related objects in a newly-created object?

edited Feb 2, 2012 4:51AM in CRM On Demand - Administration (MOSC) 1 commentAnswered ✓
I  have a web applet located in a Custom Object 1 (CO1) layout. The web applet lists associated CO2s and also contains a button to create a new CO2. The code for that button auto-populates the related CO1 in the new CO2 form and is as follows:

<a onkeypress="onButtonPress(this);" onmouseover="toggleNavButton(this);" tabindex="15" class="buttonChildTitleBarTD" onmouseout="toggleNavButton(this);" onclick="doNavigate('CustomObj2ChildListInsert?OMCR0=%%%Id%%%&OMTGT=CustObj2EditForm&OMTHD=CustomObject2NewNav&OMCBO=OnDemand+Custom+Object+1&OMRET0=CustomObj1Detail%3fOMTGT%3dCustObj1DetailForm%26CustObj1DetailForm.Id%3d%%%Id%%%&OCTYPE%3d%26ocTitleField%3dName&OCNOEDITTYPE=Y&OCTYPE=')"> &#160;New&#160;</a>

The Account Id is available in the web applet; how can the code be altered to auto-populate the Account as well, please?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center