Jump to content
5ue

Additional Search Arguments and combo_name2

Recommended Posts

Hi friends,

I need to search for contacts using combo_name2 - you can search for contacts using combo_name and Additional Search Arguments, but if you try to search for "combo_name2 LIKE '%John%'" you get error message ...Could not recognize combo_name2. I guess I should modify cnt factory, but I think I've tried everything I could..

This is just the first step - the goal is to create new derived field and use this field in my integration URL's - but first I have to know how this black magic stuff works :)

Thanks,

5ue

Share this post


Link to post
Share on other sites

The question is - how is 'combo_name2' defined ? Does it appear on a 'bop_sinfo -d cnt' execution ? What version are you on ?

Share this post


Link to post
Share on other sites
The question is - how is 'combo_name2' defined ? Does it appear on a 'bop_sinfo -d cnt' execution ? What version are you on ?

Hi Mitu,

combo_name2 is standard derived field in SDM and it is defined in the same way as combo_name and can be used for example as a common_name for cnt object.

combo_name     LOCAL STRING(0) DERIVED(last_name || isnull(', ' || first_name || ' ' || middle_name))   
combo_name2    LOCAL STRING(0) DERIVED(last_name || ',' || isnull(first_name) || ',' || isnull(middle_name))

But I have no idea why you can use combo_name for advanced search and combo_name2 not. The same with stuctured URL's - you can search for contacts using this URL

http://<server>/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cnt+QBE.KY.combo_name=smith

but not this one - you get error message saying that combo_name2 is not defined..

http://<server>/CAisd/pdmweb.exe?OP=SEARCH+FACTORY=cnt+QBE.KY.combo_name2=tanc

It is the same with all others derived fileds - like web_url - you can't use it for searching.. The only exception I've found is combo_name. And I need another one :)

Any ideas?

5ue

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...