Record Owner in form rule

  • 1
  • 2
  • Question
  • Updated 1 year ago
  • Answered
Is is possible to change 'Record Owner' in a form rule.
We have a need to change the record owner for certain conditions.
Any help appreciated.
Thanks!
Photo of QuickbaseUser

QuickbaseUser

  • 474 Points 250 badge 2x thumb

Posted 1 year ago

  • 1
  • 2
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,436 Points 50k badge 2x thumb
It cannot be done with a form rule. You probably can do it with a Webhook, but these are more complicated molicated to setup.

https://help.quickbase.com/api-guide/...

But a suggestion is to reconsider using that field, and instead make your own field which is editabel, for that purpose.
Photo of QuickbaseUser

QuickbaseUser

  • 474 Points 250 badge 2x thumb
Thanks Mark...i'm able to use webhooks to change the record owner.
Photo of John Thomas

John Thomas

  • 1,062 Points 1k badge 2x thumb
within my Quickbase knowledge , using dynamic rule you can't . Instead of  that there is  Quickbase developer Api which can be  used

Steps:
Load a  script into the table using image onload technique

Code Sample:
  var changeRecordOwner= $.get(gDBID,{
  act: "API_ChangeRecordOwner",
  rid: QBU_rid,
  newowner: "xxx@sss.com", 
  });

 
I think this will solve your problem​
You can reach for any help on mmjohnthomas@gmail.com
(Edited)
Photo of QuickbaseUser

QuickbaseUser

  • 474 Points 250 badge 2x thumb
Thanks John....your code helps!