Skip to main content
Solved

Unable to publish custom objects after ACP import

  • December 18, 2020
  • 2 replies
  • 563 views

jmunsters
Do Gooder (Customer)
Forum|alt.badge.img+2

Working with the existing LU EngPartRevision, we added some custom fields to extend the LU in a centralized testing environment.  After standing up a new development environment, we created the custom fields by exporting an Application Configuration Package (ACP) and importing it into the new environment.  The fields validated and imported into an Approved state.  When I attempt to publish and synchronize the custom fields, I receive the error “COMPILE_ERROR2:  Error during compilation of LU [EngPartRevision]” that looks like it is related to extended the custom view (CFV).  

 

 

Best answer by paul harland

Most likely one of your read-only fields has invalid logic.

If it’s obvious which field is problematic, you can post its contents here and we can assist.

If it’s not clear, I would approve and publish the fields one-by-one; that way you can find out which one is causing the above issue.

View original
This topic has been closed for comments

paul harland
Superhero (Employee)
Forum|alt.badge.img+24

Most likely one of your read-only fields has invalid logic.

If it’s obvious which field is problematic, you can post its contents here and we can assist.

If it’s not clear, I would approve and publish the fields one-by-one; that way you can find out which one is causing the above issue.


jmunsters
Do Gooder (Customer)
Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • December 18, 2020
paul harland wrote:

Most likely one of your read-only fields has invalid logic.

If it’s obvious which field is problematic, you can post its contents here and we can assist.

If it’s not clear, I would approve and publish the fields one-by-one; that way you can find out which one is causing the above issue.


This led me to the answer.  A few custom referenced enumerations that were created to support related persistent fields had not yet been published, however, the ACP properly brought in those custom enumerations. 

After walking through the referenced enumerations and publishing those, the custom fields imported in the ACP package were able to publish.  

 

Thank you, Paul!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings