Forum Discussion

jeff_stroh's avatar
jeff_stroh
Creator II
4 years ago
Solved

Pass a property into a window.open() command

This seems simple, but I'm struggling with it. I've got a button added to a toolbar that I want to open an external URL with.  The URL is saved as a property against the item. Have tied a method ...
  • Gopikrishnan's avatar
    4 years ago

    Hi

    I'm able use a button in the toolbar and access the external link using below code

    var description2 = parent.thisItem.getProperty("_forgemodelurl");
    window.open(description2, '_blank');

    [View:/cfs-file/__key/communityserver-discussions-components-files/3/Media1.mp4:320:240]