Skip to main content
Answer

Attributes in a Customization

  • June 4, 2024
  • 3 replies
  • 157 views

claudematherne24
Varsity I
Forum|alt.badge.img

Looking into the ability to have Attributes published into Customizations.  Use case:

We have a testing environment that we test Customizations before publishing into our Production instance (as everyone should hehehe). 

I want to make a Attribute on the for Vendors, that I attach to each Vendor Class.  But I am trying to figure out how to do this in a Customization if possible, that way I don’t have to recreate those fields and connections in our Production instance.  I could just publish the Customization and it would create the required fields.  

Is that possible?  I can’t find any documentation on that use case.

Best answer by darylbowman

Another less gritty option could be creating / attaching with Import Scenarios.

3 replies

darylbowman
Captain II
Forum|alt.badge.img+15

Of course this is possible, as Attributes are simply database values. However, if you’re asking for a quick and easy way to accomplish this, I would say the answer is no.

A possible way would be to write either a script or code (think customization plugin) in such a way that the values are inserted into the database when the customization is published.


darylbowman
Captain II
Forum|alt.badge.img+15

Another less gritty option could be creating / attaching with Import Scenarios.


claudematherne24
Varsity I
Forum|alt.badge.img

I didn’t think about the Import Scenario route.  That might be my best route.

 

Thanks