top of page

[Tools] Bulk Prefix/Suffix Attributes Name

  • Writer: Amraoui Hamza
    Amraoui Hamza
  • Sep 19, 2021
  • 2 min read

Delete Deprecated Fields Start From Adding a Specific Tag

I was working on creating and deleting fields from a custom entity, and as developper, the first step to do is to tag the deprecated fields, after removing the dependencies.

This task took much time as expected, edit each field and save + publish.

I thought about and i developped this tool, this time with Attributes Metadata management, the tool is for updating the display name of deprecated fields in your entity.


Bulk Prefix/Suffix Attributes in this v1 Name allow you to :

- Retrieve all attributes in your entity.

- Add Prefix/Suffix to your fields display name.

- Delete Prefix/Suffix from your selected fields.

- Set the selected fields as Non Searchable.


How To Get Started?

After connecting to your organization and opening the tool, you will see the interface below

Simply click on Load Entities

Search for the entity you want, you can use the searchbox to filter entities by name, then check the left checkbox and click on Load Fields.

After clicking on Load Fields, you can see all your entity fields in the grid Entity Fields, double click on each fields you want to update (double click on field to remove it from the update list).

you can use the searchbox to find your field easy.

After selection the fields you want to update, enter the text you want to Prefix or Suffix by your fields display name, in my case im going to use ZZ as preffix, to make these fields non Searchable, Set the value of Set Non Searchable to YES and click on Proceed.

After processing, you can see the result of the update in the bottom right grid, in case of success update you will see the status on the right screen with color green, in case of failure you will see the color red.


Future Features:

- Suggest to you the unused fields to delete.

- The dependencies of each field before delete it.


Full Project available here.

Tool Developped by Hamza Amraoui.


I hope it helps.


Comentarios


JOIN OUR MAILING-LIST

Keep in touch

Thank you !

bottom of page