An iMIS Server .NET administrator can create a custom IQA query for searching customer records and configure a personalized link to the query in the navigation menu of the Customers module in each iMIS user's client.
Before you begin
A iMIS Server .NET administrator must perform this task because they must have sufficient authority to view the IFC tab and to create, edit, and delete queries in the Central Object Repository.
To create a personalized query link on the Customers tab
Note: Do not use single-quote (apostrophe) or double-quote characters in the query name.
<add key="Browser.DisableContextMenu" value="true" />
Note: You do not need to restart iMIS Server .NET for this change to take effect.
<tr id="asinetAdvFindlink_menu"
<!-- Custom IQA Link Start -->
<a href="QUERYURL&EmbeddedMode=true" target="imismain">
<tr onmouseout="unframe('asinetQUERYNAME');"
onmouseover="frame('asinetQUERYNAME');">
<td id="asinetQUERYNAME"
style="display:none"
class="navlinkleft"
onclick="SetTask('QUERYNAME');
LeftActivate('asinetQUERYNAME','navlinkleft');">
QUERYNAME
</td>
</tr>
</a>
<!-- Custom IQA Link Stop -->
The query appears in a Query Results window.
Note: You must run the query from the IFC module. Do not run the query from any other location.
The Properties window appears.
Note: You must copy the entire URL, which spans many lines. Ensure that you use Select All or else manually click and drag down to ensure that you have selected the entire URL.
For example, if your personalized query is named "My Find", the section that you added to the LeftCust-Main.htm file would look similar to the following sample:
<!-- Custom IQA Link Start -->
<a href="http://myimisservernethost/imis/iMIS/QueryBuilder/Execute.aspx?iSession=9219c7d3500d4ab285adc0128479f4ef&iUniformKey=07e0345a-1d98-4530-8267-0379ee07a43f&iDocumentPath=$&iCurrentNodeKey=4b0030ed-724e-4bad-a27a-0377d38c7d9d&EmbeddedMode=true" target="imismain">
<tr onmouseout="unframe('asinetMy Find');"
onmouseover="frame('asinetMy Find');">
<td id="asinetMy Find"
style="display:none"
class="navlinkleft"
onclick="SetTask('My Find');
LeftActivate('asinetMy Find','navlinkleft');">
My Find
</td>
</tr>
</a>
<!-- Custom IQA Link Stop -->
document.all("asinetQUERYNAME").style.display="inline";
For example, if your personalized query is named "My Find", the full code for the IF branch for authorization level 1 would look like this:
if (lSecurityLevel >= 1)
{
document.all("asimanagecust").style.display="inline";
document.all("asimanagecomm").style.display="inline";
document.all("asiactivity").style.display="inline";
document.all("asinetMy Find").style.display="inline";
if (lLicChapter == true)
{
document.all("asichapters").style.display="inline";
}
}
Note:
<add key="Browser.DisableContextMenu" value="false" />
Note: You do not need to restart iMIS Server .NET for this change to take effect.
10.6 Production Release. Updated 7/27/2006 3:52:55 PM
© 2009 by Advanced Solutions International, Inc.
All rights reserved.