Sunday, 16 March 2014

Getting Information of logged In Users Community using apex

Salesforce communities allows you to connect your partners,employees and customers directly to the business process.

Salesforce communities Improve customer service and reduce support costs with Communities 

for Service.

Through this blog post my simple aim to is throw light on apex classes that are available to fetch information about logged in User community.

So lets have a look on how to approach the code to find community-Id and then use the community ID to get information about the users community and user detail

So lets explore the above code and find what all details one can infer from this code
CommunityHelper.getCommunityInfo().urlPathPrefix  ---This is sample on how you can use to get urlPathPrefix and this can be effective in using for various URL navigations .

http://www.salesforce.com/us/developer/docs/apexcode/Content/connectAPI_outputs.htm#capi_community_output

The above link is really handy to figure what all info one can obtain from getCommunityInfo() class .

The return will be of connectapi.community class and this class has following variables in below image
















Hope this blog was helpful and looking to blog more on how to use connectAPI more for chatter apps using vf framework .

5 comments:

  1. cheap adidas yeezy, combining elegant style and cutting-edge technology, a variety of styles of cheap adidas ultra boost, the pointer walks between your exclusive taste style.

    ReplyDelete
  2. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! BDSM

    ReplyDelete
  3. Thanks For sharing this Superb article.I use this Article to show my assignment in college.it is useful For me Great Work. Bondage

    ReplyDelete
  4. If you think social media is just limited to creating new friends and networking then you are wrong because it has a wider spectrum. You can gain a lot of information and also showcase your knowledge too. One such website that is geared towards enhancing knowledge is Reditt. question and answer community

    ReplyDelete
  5. That is promotion deals ads for you to handy examine prior writing. It will be easier to write down better site like that. being helper

    ReplyDelete

Introducing Lightning Base Components

Lightning Base Components are great addition to the platform and in fact revolutionary .One of the concerns around lightning component ...