Developer forum

Forum » Feature requests » Use of custom fields in smart searches

Use of custom fields in smart searches

Gerard Kocks
Gerard Kocks
Reply

We would like to add custom fields in item types (groups), and after that we would like to use those fields in smart searches.

As discussed in https://doc.dynamicweb.com/forum/cms-standard-features?ThreadID=56302 it seems not to be possible until now.
We have several customers that really would like to use the smart searches that way, so we would like to know if it could be developted.


Replies

 
Nicolai Pedersen
Reply

Hi Gerard

Smart searches searches for users and not groups, so I am not sure I fully understand what you want to achieve.

You can make a smart search finding users member of a specific group. You can also add custom fields to a user (not using items, but user custom fields), and use smart searches to search those.

Can you ellaborate on what your are trying to accomplish - maybe we can guide you in the right direction.

BR Nicolai

 
Gerard Kocks
Gerard Kocks
Reply

Hello Nicolai,

Thank you for your message. I think I can explain the issue best by using an example.

For one of our customers we have 2 groups:

  • Companies
  • Employees

The employees are users in DW and a company is an item type. Both of them have custom fields. An employee for examples has a custom field ‘Function’ and an company has a custom field ‘Company size’.

If I, for example, would like to make a smart search of all Marketing Managers (=Function) that work for a company with more than 250 employees (=Company size) it is impossible because we cannot use that custom field in the item type ‘company’.

Because we always import companies as an item type we have this issue with several customers. So we would like to use data of a company (item type) to make a group of users. 

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Gerad

Could you please try to ellaborate why you need the companies as Items. ? You will not be able to smartseach an Item

So a workaround could be import this into the User management (And use smartsearch) or if you can´t change your dataimport use content index builder.

Please contact Dynamicweb Support that could help explain how to setup Content index builder on your site ( support@dynamicweb.dk ) 

 Kind Regards
Dynamicweb Support
Kristian Kirkholt