Jump to content

Populating the Attributes again cost centres automatically


Recommended Posts

Morning,

Does anyone know of a way we can automatically populate the attributes against the cost centres. Would we be able to do this using the user import JSON, and the organisation part somehow? 

"Action":"Both"
            , "value":"{{.subdivision}}"
            , "MemberOf":""
            , "Options": {
                "Type": 3,
                "Membership":"member",
                "TasksView":false,
                "TasksAction":false,
                "OnlyOneGroupAssignment":true,
                "SetAsHomeOrganisation":true,

We already amended it to look like this and hard coded in email addresses into the attribute but it did not work:

"Action":"Both"
            , "value":"{{.subdivision}}"
            , "MemberOf":""
            , "Options": {
                "Type": 3,
                "Membership":"member",
                "TasksView":false,
                "TasksAction":false,
                "OnlyOneGroupAssignment":true,
                "SetAsHomeOrganisation":true,
                "Attrib1":"",
                "Attrib2":"",

Is there another utility we can use? as we need to pull this information daily from our database to keep the cost centre approvers up to date.

H

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi @yelyah.nodrog

Just to confirm, are these the fields that you are trying to populate?

image.png

 

If that's the case, then the user imports would only have options to link a user to a group, but not update the attributes of a group.  

You might be able to do this using the GoAPIScheduler along with this API https://api.hornbill.com/admin/?op=groupSetInfo

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...