How to create dynamic Smart List of contacts?

Posted by anu31221@gmail.com on 10-Mar-2016 08:05

How to create dynamic Smart List of contacts? which can be changed and saved.

I know how to create views.

All Replies

Posted by Shiva Duriseati on 10-Mar-2016 08:45

Hi Anu,

Can you please provide some more information about your use case?

Regards,

Shiva

Posted by anu31221@gmail.com on 10-Mar-2016 10:19

1. search for type of contact with zip code or state

2. Save the search result to hotlist.

3. Whenever I will click the hotlist it will show the list of contact which matches the criteria.

Posted by Shiva Duriseati on 11-Mar-2016 04:45

Hi Anurag,

Thanks for the additional information.

I have create sample application which may fit your requirement.

Created two objects "DynamicContacts" and "Hotlist". In the DynamicContacts object created a detailed search component with fields "Pincode and State".(as shown in screenshot 1)

Added script component to the search results page.Where it will pick pincode or state and display the results(as shown in screenshot 2). Also added a custom button to the script component( ex: save) where it will call rbf_createRecord() which is defined inside the script component ,where the records gets stored in "hotlist" object (as shown in screenshot 3).

I am attaching app xml for your reference.

Note: There is no direct way to get the values of fields inside detailed search component. I have used CSS class to get those values ,this may vary when these classes change in future releases.

[View:/cfs-file/__key/communityserver-discussions-components-files/25/SmartContacts_5F00_v2.xml:320:240]

This thread is closed