Help with linking Account to SFDC

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hello! If I have a contact based model and within that model I have the Account Name but want to have a link to that Account page in SFDC, how would I do that? Thanks so much!
Photo of Kristyn Melanson

Kristyn Melanson

  • 172 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Stephen Sells

Stephen Sells, Alum

  • 17,326 Points 10k badge 2x thumb
The following XML shows how this is accomplished. We're using the AccountID for a reference instead of drilling down to have the name. This will make the title a link that will open the account page.

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" useviewportmeta="true" showheader="false">
        <model id="Contact" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Contact">
                <field id="AccountId"/>
                <field id="Account.Name"/>
                <field id="Name"/>
        <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" alwaysresetpagination="false" createrecords="true" model="Contact" buttonposition="" mode="read" allowcolumnreordering="true" responsive="true" uniqueid="sk-3e7Xel-233">
                <field id="Name" hideable="true" uniqueid="fi-3e7ZBI-250"/>
                <field id="AccountId" hideable="true" uniqueid="fi-3e7ZBI-251" valuehalign="" type=""/>
                <action type="edit"/>
                <action type="delete"/>
            <massactions usefirstitemasdefault="true">
                <action type="massupdate"/>
                <action type="massdelete"/>
                <view type="standard"/>
        <actionsequences uniqueid="sk-3e7Ses-218"/>
        <styleitem type="background" bgtype="none"/>