Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Linkedin URL parameters

Hi,

 

I am bit lost with determining the best approach to switching out URL parameters. I want to provide users with a Linkedin button that will link the user directly to the Linkedin people search results.....I need to switch out the first placeholder in the below URL with first name from table and the second placeholder with the surname. The button will appear on a detailed view of the vendor that the user has drilled through to....the paremeters will need to change based on which vendor the user has drilled through to

 

 

https://au.linkedin.com/pub/dir?firstName=PLACEHOLDER+PLACEHOLDER&lastName=&trk=people-guest_people-search-bar_search-submit

 

 

Vendor Company NameFirst NameSurnameContact NumberAddress
Company ABCJohnDoe04149805691 somewhere, 3000
Company XYZJaneDoe041500000098 somewhere, 2000

 

Any help appreciated

4 Replies

  • "the paremeters will need to change based on which vendor the user has drilled through to"

     

    Not really.  That Linkedin URL is immutable (not impacted by filter choices).  Add the URL as a calculated column to your table, and then use it in your visuals as needed

    • Anonymous's avatar
      Anonymous
      Not applicable

      lbendlin Thank you for responding. 

      I was hoping I could create a parameter for the first name and another for the surname and then pass them into the URL. But can't exactly figure out how to pass them into the URL, any guidance on how I can go about that preferably in dax would be appreciated

      • lbendlin's avatar
        lbendlin
        Super User

        I don't understand why you would need parameters for immutable values. Please elaborate.