Skip to main content
Question

Custom field toggle switch

  • May 2, 2023
  • 8 replies
  • 577 views

Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 56 replies

Dears, 

 

Can I add custom field like toggle switch in this picture?

 

Best Regard.

8 replies

Forum|alt.badge.img+12
  • Hero (Partner)
  • 196 replies
  • May 4, 2023

Hi,

Yes. It would be a custom field using enumeration type with Boolean. You can use existing enumerations or create your own custom enumeration. (Below is what I have at Customer)

 

You will find how to create Custom Attributes in IFS technical help documents for your environment.

 


Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 56 replies
  • May 14, 2023

thanks AsankaGaru it is helpful.

about default value I put Yes as default but all currently rows show as no 

is this work only for new rows that created after add custom field?


Forum|alt.badge.img+12
  • Hero (Partner)
  • 196 replies
  • May 14, 2023

Hi,

I have not tried it in cloud but with past experience, you need to update existing records with the value you need (probably via a small script). New records would inherit the default, as you have mentioned.

Thanks


Kaushalya Madhusankha
Do Gooder (Partner)
Forum|alt.badge.img+1

Hi

Toggle Button Automatically generated for Not null editable attributes of type BOOLEAN


Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 175 replies
  • October 16, 2024

Hello, I have simillar problem with toggle switch, i want set up default value to false, it is possible, if it is located in entity (ReceiveShopOrder), which I cant find in entity configuration?


Abdul
Superhero (Partner)
Forum|alt.badge.img+20
  • Superhero (Partner)
  • 541 replies
  • October 16, 2024

Hi @Ed22 ,

Are you talking about standard field option or custom field? 

In entity configuration window, you can find Custom fields only.

In order to set default value for standard field/toggle, you need to write a workflow.

 

Regards

Abdul Rehman 


Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 175 replies
  • October 16, 2024

I want upload toggle switch StopClockings, which has in element content mandatory value: true. How can I write workflow? 


Abdul
Superhero (Partner)
Forum|alt.badge.img+20
  • Superhero (Partner)
  • 541 replies
  • October 16, 2024