Hi all,
Using CRM online.
I have a javascript file tied to a ribbon button on the main grid of the contact form. I want to have a second dependency, like is mentioned in this thread:
With ribbon workbench, I can use the isNan trick to get additional js code loaded.
I can't seem to do the same from the make.powerapps.com site.
Specifically, I went to make.powerapps.com, then selected my Customer Service Hub instance, then chose 'Edit', then chose 'Contact', then hit the three ellipses, and selected the 'edit command bar' option, then chose 'main grid'
I added my command button and set the main javascript file and method. There is no other option on the command button to add an additional library that I can see.
I then did a 'save and publish' operation.
My code gets called, but, as expected, the dependency is not loaded and can't be called.
One additional thing I did try was to add a dependency to the main script. I was able to set up the dependent js file in my solution, tell dynamics of the dependency, save it, publish it, and restart the browser. The dependent script is still not loaded.
Is this something that can only be accomplished with ribbon workbench?