Asset Tracking Details View--code question

M

Mike

Hi guys,

I'm using a gently tweaked version of the Asset Tracking template as a
status report. What I am looking for information on is how to make the
details link for each entry jump to the correct item on the Details view. If
you have used it before, you know it just goes to the details view. Is there
any way to modify it so that it jumps to the correct item in the details view?

Your help is greatly appreciated!!!
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

Open the Sample form in the Design Mode
Double click on the Details link to open the properties
Click on the Edit Form Code to go to the Script
See that the Code below will shift to the Individual Details view

function btnDetails::OnClick(oEvent)
{
// Avoid side effects when DOM is read only.
if (XDocument.IsDOMReadOnly)
return;

setActiveKey(oEvent.Source);
XDocument.View.SwitchView(L_View2_TXT);
}

where L_View2_TXT is the individual Details view
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top