5 Replies Latest reply on Jul 9, 2019 1:40 AM by Deepak Mishra

    How to Update people profile through Web Service.

    Deepak Mishra
      Share This:

      I have one requirement where user wants to automate CTM:People Form functionalities

      (Use Cases: 1. They want to update application permission and company permission via Web Service.

                           2. Add users to the support group.

                           3. Remove user from the support Group.

                           4. Search User details based on login ID.

       

       

      Note : For Above requirement I have created one web service on CTM:People form

        • 1. Re: How to Update people profile through Web Service.
          Deepak Mishra

          I have one requirement where user wants to automate CTM:People Form functionalities

           

           

          (Use Cases: 1. They want to update application permission and company permission via Web Service.

           

           

                               2. Add users to the support group.

           

           

                               3. Remove user from the support Group.

           

           

                               4. Search User details based on login ID.

           

           

           

           

           

           

           

           

           

           

          Note : For Above requirement I have created one web service  and operations on CTM:People form. ("GET" operation is working fine but for "SET" operation is not working as expected while updating application permission,

           

           

           

           

           

           

          Example:- I want to update "Incident Master" permission through Web service and after updating mentioned application permission via Web service  I can see in application permission table(in Login/Access Details). but when I am searching this operation on "CTM:People Permission Groups" form I am not able to find this.

           

           

           

           

           

           

           

           

           

           

           

           

           

           

          Regards,

           

           

          Deepak Mishra

          • 2. Re: How to Update people profile through Web Service.
            LJ LongWing

            Deepak,

            You'll need to ensure that the proper workflow is in place to create the records that need to be created.  So, you may want to create an interface form (or see if one already exists) and do a create to the interface form, and build your own custom workflow that creates the necessary records in the proper tables.

            1 of 1 people found this helpful
            • 3. Re: How to Update people profile through Web Service.
              Ankit Tiwari

              As LJ suggested you will have to build your own custom workflow logic for this.

               

              You can create one interface form which will hold all records of web services request for example one record for updating permission. You can have one type of operation field which will hold type of operation you want to perform like add permission or remove permission or add/remove in support group.then based on type of operation you can write workflow to push or delete data from respective form. For example, if type of operation is add in support group then you will need one filter that will push people and group record in CTM Support Group People Association form (not an exact form name).

               

              I hope you got little idea..

               

              Cheers,

              Ankit

              • 4. Re: How to Update people profile through Web Service.
                Carl Wilson

                Hi,

                I would suggest utilising the OOB "load" forms for this purpose (as used by the UDM).

                They contain validation workflow that you can leverage.

                Steps would be:

                 

                1. Load data into the "Load" form
                2. Set Keyword "VALIDATELOAD"
                3. Check for Errors/Success

                 

                Cheers

                Carl

                2 of 2 people found this helpful
                • 5. Re: How to Update people profile through Web Service.
                  Deepak Mishra

                  Hi Ankit,

                   

                  Thanks for reply, Let me implement this

                   

                  Regards,

                  Deepak Mishra