You need to sign in to do that
Don't have an account?
Mayte Martínez
Default access in contact module
Hi, I have the requirement: 2 tabs from Contacts: 1 of the tab is "Interlocutor" (spanish) and the another one is "Candidatos" both of them from contacts module.
I renamed the contacts for Interlocutor tab.
And for Candidatos one I created a new Tab (from contacts and through Visualforce: with follow code: <apex:enhancedList type="Contact" />)
What I need to do now is to filter the records for all the organization for each tab, I mean, as the origyn of the entire information is contact, i need to sepparate the data for each tab. If the user clicks on "Interlocutor" the system should filter "Automatically" the data from Contact with type = "Interlocutor"; and if the user clicks on the "Candidatos" the system should do the same but for contact type = "Candidato"
I guess this sould be done through visualforce in Candidatos tab, but I dont know how can I do this.
But for the Interlocutor tab, I have no idea!
Can somebody help me on this subject? Please!!!!
Thanks!
Karelia.-
I renamed the contacts for Interlocutor tab.
And for Candidatos one I created a new Tab (from contacts and through Visualforce: with follow code: <apex:enhancedList type="Contact" />)
What I need to do now is to filter the records for all the organization for each tab, I mean, as the origyn of the entire information is contact, i need to sepparate the data for each tab. If the user clicks on "Interlocutor" the system should filter "Automatically" the data from Contact with type = "Interlocutor"; and if the user clicks on the "Candidatos" the system should do the same but for contact type = "Candidato"
I guess this sould be done through visualforce in Candidatos tab, but I dont know how can I do this.
But for the Interlocutor tab, I have no idea!
Can somebody help me on this subject? Please!!!!
Thanks!
Karelia.-
<apex:enhancedList type="Contact" listId="list_id_goes_here"/>
You can find the list id by inspecting the element using browser developer tools.
You need to create a list view that filters the contacts with the type "Candidato". Then find the list id and use it in the enhanced list.
You can do same for "Interlocutor" by creating another visualforce page as "Candidato" and another tab using the visualforce page.
Hope this helps.
All Answers
You may create two list<contact> variable in controller extension. one for 'Interlockutor' and one for 'Candidato'.
Then use apex:pageblocktable (or apex:datatable or apex:repeat) to bind to different list on different VF page.
You can use below approach:
<apex:page> <apex:enhancedList type="Case" height="300" rowsPerPage="10" id="YourListViewId" /> </apex:page>
Thanks,
Arun
<apex:enhancedList type="Contact" listId="list_id_goes_here"/>
You can find the list id by inspecting the element using browser developer tools.
You need to create a list view that filters the contacts with the type "Candidato". Then find the list id and use it in the enhanced list.
You can do same for "Interlocutor" by creating another visualforce page as "Candidato" and another tab using the visualforce page.
Hope this helps.
Please let me know if the helps.
As a common practice, if your question is answered, please choose 1 best answer.
Additionaly you can give every answer a thumb up if that answer is helpful to you.
Thanks,
Arun
<apex:enhancedList type="Contact" listId="list_id_goes_here"/>
And inactivated the Contact module for the profile.
And it Works! thanks to all :-)