Answered by:
Sub-Grid is not searchable?

Question
-
Hi,
I had a simple searchable lookup field before which worked fine, however I had a problem where I wasn't able to select multiple products. After reading up online I was able to add a sub-grid which gave me the option of selecting multiple products. The only problem I have now is that when I add a product to my sub-grid I am unable to search for it as the results keep coming back with no results found? but if I search for the original lookup field it comes back with results found?
Is this something that is not possible with Sub-grids or should I have found another way of selecting multiple products? any help is appreciated, many thanks.
Friday, June 6, 2014 9:49 AM
Answers
-
I think I understand your problem.
When you add records into a subgrid, the search needs to be performed on the related entity, not the lookup on the primary (lead) entity.
In this case you should select the related entity from advanced find, which should be listed below the lead fields. Then once inside the related entity you can search where name = 'Other'.
What you cannot do is perform 1 query in advanced find to get the Leads where 'Other' is in the lookup OR in the related entity.
Hope that makes sense.
Paul
If my response helped you find your answer please show your thanks by taking the time to "Mark As Answer" and "Vote As Helpful".
- Marked as answer by ClarkKent786 Thursday, June 26, 2014 9:58 AM
Friday, June 20, 2014 10:33 AM
All replies
-
Anyone?
Surely being able to search for information within a sub grid is available?
Tuesday, June 10, 2014 8:24 AM -
Can you check the views for the Product entity? In particular the Quick Find view which defines the fields that are searchable - these are the fields that will be searched across when you're performing a search.
Also check which view is being used on the lookup field vs. on the subgrid lookup. The subgrid should use the 'Lookup View' but the single lookup field can use a different view, which may have different filters.
If I'm not making any sense, post some screenshots, one of each lookup view with you performing the same search.
Hope that helps
Paul
If my response helped you find your answer please show your thanks by taking the time to "Mark As Answer" and "Vote As Helpful".
Tuesday, June 10, 2014 10:46 AM -
Sorry for the late reply, I was away. Sorry but I don't think I fully understand as you're asking to check the view for the product entity but the sub grid is not an entity? I will send over screenshot.
I have chosen a random, lead. The section I am looking at is the following:-
Now I will select the sub grid and select one of the records from the lookup view:-
Friday, June 20, 2014 8:34 AM -
The lead information now is looking like the following, I will save and close it.
Now I will go into advanced find, and search for 'other' in existing system which is the entity. As you can see the results doesn't find anything.
Friday, June 20, 2014 8:36 AM -
Now I will go back into leads and remove 'other' from the sub grid and add it to the lookup field.
When I carry out exactly the same search this time it finds the record? Hopefully this makes sense.
Sorry for the multiple post but I was only allowed to add 2 images per post.
Friday, June 20, 2014 8:40 AM -
I think I understand your problem.
When you add records into a subgrid, the search needs to be performed on the related entity, not the lookup on the primary (lead) entity.
In this case you should select the related entity from advanced find, which should be listed below the lead fields. Then once inside the related entity you can search where name = 'Other'.
What you cannot do is perform 1 query in advanced find to get the Leads where 'Other' is in the lookup OR in the related entity.
Hope that makes sense.
Paul
If my response helped you find your answer please show your thanks by taking the time to "Mark As Answer" and "Vote As Helpful".
- Marked as answer by ClarkKent786 Thursday, June 26, 2014 9:58 AM
Friday, June 20, 2014 10:33 AM -
hi,
many thanks for your help
- Edited by ClarkKent786 Thursday, June 26, 2014 9:58 AM I was searching for wrong entity
Thursday, June 26, 2014 8:32 AM