You need to sign in to do that
Don't have an account?
Senyors
Obtaining Contact View Information?
I've been tasked to build a .NET web application (VB) that will connect with our SalesForce.com data and allow our salespeople to select an in-house email template for mass mailings through our own in-house mail servers. I have everything setup in Visual Studio 2005, the WSDL is in place, and I have some initial code running that allows me to successfully log into the API and retrieve some basic information (user name, company, etc.). So far, all is going well.
Now, I want to create a dropdown menu that contains any and all contact "views" established by the user. In SalesForce.com, I can create a new view and assign specific contacts to that view, allowing me to manage different groups of folks to potentially email. However, I can't seem to find any reference to these views in the Apex API. I presume there is some sort of mechanism I can use to capture what views have been created by a particular user, so in turn I can capture the appropriate contacts for that view.
Can anyone point me in the right direction here?
~ sfdcfox ~
Thanks for the response. Naturally, my goal is to do as little programming as possible; while I can simulate views through code, it also potentially expands the scope of my project, especially since I may need to pull down all of my sales agents contacts and allow those agents to individually select which contacts they actually want to reach.
I'll have to give this matter further thought, but thanks for the feedback. :smileyhappy:
Or you can create your custom fields and do it that way. I think a "configuration object" is far more flexible, though...
~ sfdcfox ~
First, thanks to everyone for the help. For those folks following this thread, we're a fairly small organization with just a few dozen field reps. So, the solution we decided on was to add five new checkbox fields to the SalesForce.com contacts system (Group1, Group2, Group3, Group4 and Group5) and associate them with arbitrary groups of contacts to be emailed (the reps decide which contacts to associate with which groups).
To review, we're building an in-house solution to mass email our contacts, and we already have the programming in place to now allow a rep to select which group to email, leveraging the five new groups introduced above. We were easily able to code against these five new groups, and our in-house solution is already nearly done.
Again, thanks for the help and suggestions. Our first encounter with the Apex API has been a pleasant and successful one. :smileyvery-happy: