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
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 .