Populate Custom entity values in case web picker screen

Hi All,

I have created two custom entities called 'Employer' and 'Customer'. Find Employer/Customer and click on hyper link in the grid, it will redirect to Employer/Customer summary screen. If user directly right click on new-->Case from main menu, then need to populate employer/Customer name in case web picker screen. I have added search select advanced field in case web picker screen.But employer/Customer name is not populating in case web picker screen.

The below steps are working for sage default entities called company/person

1. Find for company/person
2. Click on hyperlink in the grid
3. user will navigate to company/person summary screen
4. Right click on new-->case from main menu
5. We can able to see company/person name in case webpicker screen.

When I do the above steps,I checked the url of case new entry screen which is

XXX.XXX.XXX.XXX/.../Do

From this url I can understand based on key1,key2 values its displaying company and person names in case webpicker screen.

If I do the same for custom entities called employer and customer, I am getting below url for case new entry screen respectively which are

Employer: XXX.XXX.XXX.XXX/.../Do

Customer: XXX.XXX.XXX.XXX/.../Do

From the above url's I can understand key58 is for Custom entity but I'm not sure how to identify entity name?. If I know the entity name then I will do query for displaying employer name by using key58 value.

Any help would be highly appreciated.

Thanks in advance,