Is there a PageDesigner Action to open a web page?

Dear all,

Is there a PageDesigner Action to open a web page given its URL? I'm working on a Data List, of Interactions for people for us to call to welcome them and thank them for signing up for one of our projects. It'd be great if I could build into that list, a button which would, in a new browser tab, open the person's record in the external platform (Raisely). I have the URL available embedded in the Interaction Comment, and could probably parse it out of there (although I've not yet done that), but is there a way of opening the web page, e.g., feeding the URL to some ExecuteCLRAction?

Kind regards,

David.

Comments

  • @David Wanless

    You can put the URL in a field on the datalist with a WebAddress type, this will create a hyperlink to click. You can also go the CLRAction route. I did something similar before, I put the action and the javascript code in the attached txt file.

    Web page CLRAction.txt


  • @Nick McGinnis
    I have a similar question. I'm trying to add to a datalist (I created) to add JG page URL's as an attribute value. I can't work out how to do this.

    What do you mean by WebAddress Type?

  • @Lisa Fields
    In the select query for the data list you can either pull the URL from a stored location, generate it via whatever criteria, or hardcode. Then in the form fields on the data list you can add a field for that URL and the type will be WebAddress, instead of String, Boolean, etc. Using this will make the column a hyper link in the data list.

  • @Nick McGinnis:

    @Lisa Fields
    In the select query for the data list you can either pull the URL from a stored location, generate it via whatever criteria, or hardcode. Then in the form fields on the data list you can add a field for that URL and the type will be WebAddress, instead of String, Boolean, etc. Using this will make the column a hyper link in the data list.

    Honestly I don't understand much of this. I created the Datalist using a Revenue Query. There is no option to add a field? This is obviously beyond me!

  • @Lisa Fields
    I apologize, I did not realize you made it through an ad-hoc query. It is possible to write a javascript file to call via CLRAction where you could pass in data and have it open a URL. However, you would need to be familiar with the SDK and javascript. I have an example in a response below to David of an example if there is a developer at your organization who can assist.

Categories