Change Button Visibility After GetNew in Application Studio

I ended up using this method from @hmwillett to enable and disable the button rather that change it’s visibility

  1. Bind the button to a field (doesn’t have to be a real DB column)

  2. Create rule to disable button based on TransView field

  3. Set TransView field on FormLoad to disable button
    image
    image

  4. Set TransView field after GetNewPart to enable button
    image
    image

  5. Set TransView field to disable the button again
    image
    image

Seems to work.

Any feedback on this appreciated.