CA Service Management

  • 1.  How to automatically add logged user on TABLE field

    Posted Oct 03, 2016 12:37 PM

    Good Evening!

     

    On the form i'm desinging, i need to use a field of TABLE type, to handle CNT's.

    I'm wondering if its possible to automatically, add the LOGGED user (the one is filling the offer) to that List, as predefined.

     

    Is it possible to achieve this?

     

    Greetings,

    Ivo



  • 2.  Re: How to automatically add logged user on TABLE field

    Broadcom Employee
    Posted Oct 04, 2016 01:58 AM

    Good Morning Ivo.

     

    To populate the 'Table' component on your form, I assume you make use of a report-builder/data-object.
    In which a query is used to select contact rows from a table, holding your contacts.
    And with this query, you indeed select >1 rows from the table, right.
    Which may include the logged-in user amongst others.

     

    To have the contact row for the logged-in user, you could create another data-object with the query to select only the logged-in user details.
    (select * from <table> where <userid>='<logged-in user>')

    And then add a 'Text' component on the form too, to be populated with this query's result.

     

    Thanks and kind regards, Louis van Amelsfort.



  • 3.  Re: How to automatically add logged user on TABLE field

    Posted Oct 04, 2016 07:36 AM

    Hello Louis, Good Afternoon!

     

    Yes, you're right.

    Although, the part that is missing is that on how to get that <logged-in user> dinnamically?

     

    Greetings,

    Ivo



  • 4.  Re: How to automatically add logged user on TABLE field