Jump to content

User Attribute


nick young

Recommended Posts

Hi,

I am new to ftrack and scripting, but I am excited about creating custom attributes, but need a little help.

I successfully went through the tutorial for adding the Day Rate, Cost and Estimate attributes. However I wanted the the Cost calculation to use the day rate of each user, not a single project based value.

 

I have added a user attribute for day rate, but I need to sum all the day rates of Users assigned to the Task, multiplied by bid.

Any ideas on what the script would look like?

 

Cheers Nick

Link to comment
Share on other sites

Hi Nick,

we prioritised this yesterday as a high priority feature, so expect to see this soon in a coming release. With that said, expect a "lean and mean" version of our first stab at this. Maybe we only support that one user can be assign to the task for this to work (in ftrack you can assign multiple users to a task) etc. 

 

Cheers,

Fredrik

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...
On 11/26/2016 at 11:41 PM, kyuho_choi said:

Is this issue solved?

No, I'm afraid development of this feature got pushed and at the moment I do not have any dates for it. Is it the same use-case, to have a day rate attribute?

14 hours ago, kyuho_choi said:

Where is "User attribute" used?

You can use it from the Users & Groups page in system settings and see it on the sidebar for a user.

It is also possible to retrieve it from the API.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...

Hello all, 

 

I'm having issues entering {self.bid} does not return a value. 

Trying to figure out basic values from these attributes

Bid Hours is  {self.bid} ? No value is returned

Worked Hours {self.worked} ? No value is returned.

Thanks for any help 

also if you have a web page with some of the basics expression might be nice 

 

 

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...