The Command Bar editor can be used to set the PowerFX on a Command Bar Button which can invoke functionality. The screenshot below shows that this formula has an error. The error is because a field which the formula is referencing does not exist.

This is the actual error:

The error is that the field Manual PDF generation requested? does not exist.

Except it does.

How to resolve

In order to have any field customisations down to the Command Bar, one must go into the Component Library and effect a re-publish.

Click on the Open component library button on the toolbar to display the component library used by the application.

Click the icon to display the menu and select View code:

The code is displayed, but note that this may change your code!

Make no changes and click Close

Click the Save button followed by Publish:

Wait until the publish operation is complete before leaving the designer tool.

You will be warned about leaving the application and losing your work. Ignore this, it is wrong.

Re-open the Command Bar and notice that the error has now disappeared.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Quote of the era

In the beginning there was Jack … and Jack had a groove. And from this groove came the groove of all grooves. And while one day viciously throwing down on his box, Jack boldly declared “Let There Be House” and House music was born.

~ Chuck Roberts