Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Error on Contacts Advanced Lookup page
Kent Matthew
Posts: 33
 
Error on Contacts Advanced Lookup pageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Jun 06 12:51 PM

amlodipin teva bivirkninger

amlodipin actavis mcefun.nrossen.dk
fiogf49gjkf0d
My requirement is to remove the "Owner" search picklist on the Contacts Advanced Lookup page and replace it with the "Title" picklist (in our case, the Title field contains titles of school-related occupations, i.e., Teacher, Principal, Superintendant, etc.). This "Title" picklist exists in the customized tab of the SalesLogix Administrator Picklist Manager.

My approach has been to change the conconmpl.htm template as follows:

Replace:

QBEItems[9] = "owner";

with:

QBEItems[9] = "title";

replace:

<td nowrap>Title:</td>
<td nowrap>
<#PL list="Owners" name="owner" style="width:150px">
</td>

with:

<td nowrap>Title:</td>
<td nowrap>
<#PL list="Title" name="title" style="width:150px">
</td>

The correct Title picklist information renders when the page displays, but when I try to search by a value selected from that picklist, I get the following JavaScript alert: "Error: Invalid condition string - ". I've displayed the value of the "sURL" variable in the setQueryParams() function, and it indicates that the correct picklist value is being passed to the "title" parameter of the URL.

Does anyone know what I'm doing wrong?

Thank you,
- Kent
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Error on Contacts Advanced Lookup pageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Jun 06 6:54 PM

cipro

cipro online
fiogf49gjkf0d
You also need to modify the Query that drives the lookup. As I recall its name is "con_conmpl". You will need to add a Title condition. BTW, it might be just as easy to Add the Title condition instead of replacing the Owner condition.

[Reply][Quote]
Kent Matthew
Posts: 33
 
Re: Error on Contacts Advanced Lookup pageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 06 10:52 AM
fiogf49gjkf0d
Frank, you're exactly right! In the "conconmpl.htm" template that controls the Contacts Advanced Lookup, the downBelow() function (which is invoked when the user clicks the magnifying glass hyperlink) references the "searchconmpldata.htm" template, which in turn references the "con_conmpl" query. I added the "contitle" column in the "Columns" tab of the "con_conmpl" query, added "Contact.Title" field with a value of ":title" to the conditions for the "default" row of the "Conditions/Sorting" tab, and now the Contacts Advanced Lookup successfully uses the "Title" field as a search criterion.

That's exactly what I needed. Thank you for the answer, Frank!
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 3:32:37 PM