Skuid Social Profile Link to show in Skuid Page!!

  • 1
  • Question
  • Updated 5 years ago
  • Answered
Hello,

I wanted to use Social Profile links for FB,Twitter etc. as it comes in Standard sales force page in Skuid Page.
Can i get the same in skuid?
Attached is an image to Show some functionality which i want to have in my skuid Page if Possible or with Some Work arround.


Please tell me out of these what i can use in Skuid.

Thanks.
Arpit
Photo of Arpit

Arpit

  • 1,514 Points 1k badge 2x thumb

Posted 5 years ago

  • 1
Photo of Anna Wiersema

Anna Wiersema

  • 10,890 Points 10k badge 2x thumb
Hi Arpit, we don't have an elegant way to do this right now but what you can do is use the Page Include component to include a Visualforce page with the Social Profile. Here's how:

  1. Create a Visualforce page like this: "SocialProfileViewer"

    <apex:page showHeader="false" sidebar="false" standardStylesheets="false" showChat="false" doctype="xhtml-1.1-basic">
    <social:profileViewer entityId="{!$CurrentPage.parameters.id}" />
    </apex:page>

  2. What it looks like in the Page builder.

  3. Page in production


The Chatter for an individual you can include with the Chatter component. And then of course you can always include related lists in your Skuid page. What else were you wondering about?
Photo of Arpit

Arpit

  • 1,514 Points 1k badge 2x thumb
Hello Anna,

Can i use this with the Custom fields?Means get this functionality with the Custom object.As i am getting some error while using this with Custom Object.Below is the error i got :

1. An error occurred while trying to load the Visualforce Page at URL "/apex/c__SocialProfileViewer": java.lang.reflect.InvocationTargetException

Please help me with this!!

Thanks.
Arpit
Photo of Arpit

Arpit

  • 1,514 Points 1k badge 2x thumb
Hello Zach,

I am getting the following error when try to use lookup field as mention

1. A PageInclude component of type 'visualforce' attempted to load a page with fully-qualified name 'c__SocialProfileViewer'. However, the Query String for this request contained an invalid Mustache merge: '{{$Model.EliteAgentData.data.AJE_Broker__c}}'. Please check that you have the correct Model Id and correct Field Id.

2. An error occurred while trying to load the Visualforce Page at URL "/apex/c__SocialProfileViewer?id=": java.lang.reflect.InvocationTargetException

So can you please help me with this so that i can use this?

Thanks
Arpit
Photo of Arpit

Arpit

  • 1,514 Points 1k badge 2x thumb
Hello,

Can any one Please help me in how to use lookup field that point to Contact Record in the Social Profile Viewer Page.
As i am getting the following Error while i am trying this :
1. A PageInclude component of type 'visualforce' attempted to load a page with fully-qualified name 'c__SocialProfileViewer'. However, the Query String for this request contained an invalid Mustache merge: '{{$Model.EliteAgentData.data.AJE_Broker__c}}'. Please check that you have the correct Model Id and correct Field Id.

2. An error occurred while trying to load the Visualforce Page at URL "/apex/c__SocialProfileViewer?id=": java.lang.reflect.InvocationTargetException

So can someone help me in how to solve this?

Thanks.
Arpit
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb
Hi Arpit,

I'm not exactly sure what is going on, but it might be worth changing your merge to this...

{{$Model.EliteAgentData.data.0.AJE_Broker__c}}
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb
Actually, now that I think about that, I don't think my latest post will work. You could try using a template component that has an iframe in it.
Photo of Arpit

Arpit

  • 1,514 Points 1k badge 2x thumb
Hello Ben, Using an template component that has an iframe in it,Can you please explain a little more that how do i use this to show up Social Profile Link.It will be great if you can please explain this furthermore in detail.

Thanks.
Arpit
Photo of Anna Wiersema

Anna Wiersema

  • 10,890 Points 10k badge 2x thumb
Hi Arpit, here's a few more details about how this would work to get you started.
  1. Drag and drop the template component into your Skuid page.
  2. Click the checkbox to allow HTML in the template.
  3. Enter the following in the template area, where <strong>PageURL</strong> is the URL for your Visualforce page.
 <iframe frameborder="0" height="100px" width="100%" src="PageURL"></iframe>

From there you can adjust the height and the URL (adding parameters where necessary to pull in the correct Id field).