Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Customize Search results from Search and Promote based on user Profile

chaitanyas66002
Level 1
Level 1

Is there a way in Search and Promote that we can customize our search results based on the user profile.?

1 Reply
pranavkaushik
Level 4
Level 4

Hi Chaitanya,

There is no out of box approach available here but if you would like to have different searches for different cases this might be possible using ranking.

Note that this only works by expressly including this special sp_sr rank argument - any search that specifies a different sp_sr, or possibly no sp_sr at all, might bypass this trick. Note that if there is no sp_sr specified in the query, the first defined rank (as it appears in Settings > Metadata > Definitions) gets used. So, if this special "hiding" rank is the first one defined, it’ll be used by default if no sp_sr is specified.

As long as end-users can’t fiddle with backend query args, this might be an answer.'

Thanks

Regards,

Pranav