remove or add fields in alignment workspace - demand planning form

Jude8
Tera Contributor

Hi Everyone,

 

i need help in adding or removing fields from Alignment workspace - Demand planning form. Is there a way we can add or remove fields from backend instead of doing it from the option "personalize form"

1 ACCEPTED SOLUTION

Amit Gujarathi
Giga Sage
Giga Sage

HI @Jude8 ,
I trust you are doing great.

To add or remove fields from the Alignment workspace - Demand Planning form, you have a couple of options. While the "Personalize Form" option is the recommended way to customize forms in ServiceNow, you can also achieve this by modifying the form's backend code.

To add or remove fields from the backend, you'll need to make changes to the form's underlying table and associated scripts. Here's a high-level overview of the steps involved:

  1. Identify the table: Determine the table associated with the Alignment workspace - Demand Planning form. This information is typically available in the form's properties.

  2. Modify the table: Access the ServiceNow backend and navigate to the table that corresponds to the form. You can make changes to the table structure by adding or removing fields as needed.

To add a field, you would need to create a new field within the table. You can specify the field type and other properties based on your requirements.

To remove a field, you can delete the corresponding field from the table. However, exercise caution when removing fields, as it may impact other parts of the system that rely on those fields.

  1. Update form views and scripts: After modifying the table, you'll need to update the form views and associated scripts to reflect the changes. This ensures that the form displays the newly added fields or excludes the removed fields.

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



View solution in original post

2 REPLIES 2

Amit Gujarathi
Giga Sage
Giga Sage

HI @Jude8 ,
I trust you are doing great.

To add or remove fields from the Alignment workspace - Demand Planning form, you have a couple of options. While the "Personalize Form" option is the recommended way to customize forms in ServiceNow, you can also achieve this by modifying the form's backend code.

To add or remove fields from the backend, you'll need to make changes to the form's underlying table and associated scripts. Here's a high-level overview of the steps involved:

  1. Identify the table: Determine the table associated with the Alignment workspace - Demand Planning form. This information is typically available in the form's properties.

  2. Modify the table: Access the ServiceNow backend and navigate to the table that corresponds to the form. You can make changes to the table structure by adding or removing fields as needed.

To add a field, you would need to create a new field within the table. You can specify the field type and other properties based on your requirements.

To remove a field, you can delete the corresponding field from the table. However, exercise caution when removing fields, as it may impact other parts of the system that rely on those fields.

  1. Update form views and scripts: After modifying the table, you'll need to update the form views and associated scripts to reflect the changes. This ensures that the form displays the newly added fields or excludes the removed fields.

Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Thank you @Amit Gujarathi  fir your response. I made changes to the table that is related to Demand planning form. But it is not reflecting in the alignment workspace.