Precisely Enterworks

 View Only
  • 1.  Punching Out of Enable to Specified URL - Opening a New Browser Window

    Posted 01-11-2021 10:48
    Once the user has opened a specific record via classic UI, they would like to punch out of Enable to a specific URL.  I would like a new browser window opened the the results displayed.  As a side note, this URL changes based on the specific record.  Can this be done and if so, how?

    ------------------------------
    Jeff Wiedemann | Engineer, Apps
    Steelcase, Inc | 616-460-0597
    ------------------------------


  • 2.  RE: Punching Out of Enable to Specified URL - Opening a New Browser Window

    Employee
    Posted 01-16-2021 01:32
    Jeff,

    You should be able to access an external URL using the Custom Action capability of the EnterWorks platform.  Once configured, the user would click a button/icon on an attribute in the detail editor that opens a new window for the defined URL.  There is a Brown Bag Session recording (#31) on defining Custom Actions that may help in setting one up.  There is also an example custom action included with the Services Framework deployment (for uploading and linking digital assets with the uploaded files being renamed to include the current date and time) that may help.

    -Brian

    ------------------------------
    Brian Zupke | Senior Technical Support Engineer
    Winshuttle North America | 9099009179
    ------------------------------



  • 3.  RE: Punching Out of Enable to Specified URL - Opening a New Browser Window

    Posted 01-16-2021 19:31
    Thank you Brian for your response.  I did watch the Brown Bag session recommended above which did go into much detail.  However, I am still somewhat unclear.  All I am looking to do is in classic UI.  Once the user opens a record in detail editor, they will click on a button assigned to a specific attribute containing a URL.  After the button click, a new browser window should open and take the user to that URL.  I am not looking to update any information in Enable.  Any guidance is appreciated.

    ------------------------------
    Jeff Wiedemann | Engineer, Apps
    Steelcase, Inc | 616-460-0597
    ------------------------------



  • 4.  RE: Punching Out of Enable to Specified URL - Opening a New Browser Window

    Employee
    Posted 01-31-2021 19:35
    Jeff,

    You would still need to define a custom action, but for Classic, this would be in the form of a JSP page that perhaps simply redirects to the external web site.  If there is any information that needs to be passed to the external web site, then you'd need to retrieve the values in the JSP page before calling the external URL.

    The Services Framework deployment folder has an example custom action JSP file in the EPIM\custom folder and is named UploadLinkedAssets.jsp.  This page provides the ability to upload a digital asset, rename the file before submitting it to the DAM and linking it to the record being edited.  It should give you some ideas on how to access information in the record being edited (if that's necessary).  The file needs to be deployed to the <drive>:\Enterworks\EnableServer\tomcat\webapps\webcm\custom folder and then configured on the <repository> -> Edit -> Attribute Properties screen, selecting both how it is to appear and the specific file to be used.  Both are drop-downs to the right of the attribute to which the custom action button is to be anchored.

    -Brian

    ------------------------------
    Brian Zupke | Senior Technical Support Engineer
    Winshuttle North America | 9099009179
    ------------------------------