PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05/20/2015 11:50 AM by  Tim Cochrane
Design Studio form transfer
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Kenn
Consulting Applications Engineer
HCA Healthcare
Basic Member
(20 points)
Basic Member
Posts:10


Send Message:

--
05/19/2015 1:54 PM

    We have created a custom DS form of AC10.1 that splits out the User Analysis field into 4 parts.  We also have created a copy of that form called ZAC10.1 that is exactly the same except it only allows Inquire access.  We do not want our users to have to have bookmarks or shortcuts that say ZAC10.1, but we want everyone to use AC10.1.

    When a user uses the search box for AC10, upon intialization we want to read the security table and if a user has a certain role, we want that user to get the ZAC10.1 version.  Is it posible to do a form transfer in the DS code?

    David Williams
    Private
    Private
    Veteran Member
    (3052 points)
    Veteran Member
    Posts:1028


    Send Message:

    --
    05/19/2015 2:13 PM
    Since there is a function you can use to perform a form transfer, you should be able to script it to execute when the form launches and particular conditions are met (like security role).
    David Williams
    Tim Cochrane
    Private
    Private
    Veteran Member
    (450 points)
    Veteran Member
    Posts:154


    Send Message:

    --
    05/20/2015 11:50 AM
    Kenn - let me see if i understand...you have an AC10 screen, update access, that splits the field into 4 parts...you also have ANOTHER AC10 screen that does the same, except Inq only...BUT, you don't want to use bookmarks.

    Why not set the "Inq" version to be the default, call "FORM_OnInit" function, which contains a servlet/Profile call. servlet/Profile will return the assigned roles (or something usable)...if user has "Role 1", leave them on the Inq version; if "Role 2" form transfer to the update version.

    Bookmarks is much easier...but i know what your answer will be.
    Tim Cochrane - Principal LM/IPA Consultant
    You are not authorized to post a reply.