Forums

 
ForumForumMainstream Foru...Mainstream Foru...DevelopersDevelopersAdvanced Search??Advanced Search??
Previous Previous
 
Next Next
New Post
 6/9/2010 4:08 PM
 

We created a new module 'Categories' and we linked to contacts, so now we can assign one or more categories to one contact,

and it is working fine

But we are unable to implemente it in advanced search, to search the contacts for sepecific category

may anyone help on that , and thanks on advance.

New Post
 6/10/2010 12:26 AM
 

The way that we typically solve this problem is to use a custom field in the Contacts module and a list instead of a relationship. The custom field should be created as a Text Area so that it will be created as an nvarchar(max). You can then use a multi-selection listbox that is populated from the Categories and accessed through the SplendidCache. In the SearchView, you use the same multi-selection listbox and the SearchBuilder will take care of the lookups.

When debugging this kind of logic, it is usually best to turn on the show_sql config setting.

New Post
 6/11/2010 7:28 AM
 

Thank you for ur important reply,

but as we entered the data in categories module and every thing is fine except that problem, is there a solution for that with the created module ?

New Post
 6/11/2010 9:10 AM
 

Please restate the problem.

New Post
 6/12/2010 5:03 AM
 
 Modified By Roney  on 6/12/2010 5:04:43 AM

We created a relationship between Contacts and Categories (new module)

idea: to allow the user to assign one or more categories to one contact

and to use the advance search on the contacts main page to find all the contacts assigned to sepecific category.

now: everythink is ok we can find the Categories section under the leads and oppertunities and .... in every contact page

but the problem we are unable to add Category condition to advance search??

Previous Previous
 
Next Next
ForumForumMainstream Foru...Mainstream Foru...DevelopersDevelopersAdvanced Search??Advanced Search??