How can I set detail_pr page tab "Parent/child" which has another tab "Attached Incidents" as the default.
I want to view all incident ticket in the problem ticket when I open the form.
you can add:
to onload actions.
Also this function automatically switches to parent tab where destination tab is located.
I think (have not tested) you could also do same, by changing the sequence of the tabs on the section where the tabs are defined (<PDM_MACRO name=dtlEndTable>) on the datail form. So put the tab that you want to be opened first as the first one on the list.
Brian, I think the start of that section is: <PDM_MACRO name=startNotebook hdr=prro_nb>
<PDM_MACRO name=startTabGroup title="Parent/Child_Relationships"><PDM_MACRO name=tab title="Attached Incidents" height=300 id=att_inc src="OP=SEARCH+FACTORY=in+QBE.EQ.problem.id=$dob.id+KEEP.forPRtoIN=1+KEEP.PR_PERSID=$args.persistent_id+KEEP.PR_ID=$args.id+KEEP.PR_REFNUM=$args.ref_num"><PDM_MACRO name=tab title="Parent/Child" file="pr_relreq_tab.htmpl" id=rel>
To just after:
<PDM_MACRO name=startNotebook hdr=prro_nb>
Thanks for the suggestion. I used the Web screen painter to modified the forms to create a new tab group as the first tab. Then added the Attached Incidents tab, Parent/child tab, Activities log tab, Event log tab, Attachment tab into the
detail_pr htmpl to get the tab that I common use as the first displayed.
defining tab order in this way have a nuance, if user switch to another tab and then close ticket's window, new ticket will be opened on the last closed tab, so user can redefine order in this way.
My 2 cents :)
I notice the behavior you mention, if the users need it I will use the macro coding section suggestion in these post to tune it.
Thanks for the advice.
Retrieving data ...