I'm writing a custom component using the Ensemble SDK that calls a SPARQLMotion script, and I need a way to specify values for parameters up-front instead of calling the script and having it prompt the user for the values while it runs.
For example, we have a custom Create script with specific business rules that run when a new node is added. One parameter for this script allows the user to specify the placement of the new node (as a child, as a sibling before/after the selection). I'd like to provide separate menu items or buttons for each of these variants, instead of having one "Create" button followed by a prompt. Clicking the button would then call the Create script with the placement argument already defined. I could accomplish this by calling the script as a web service, but then I need to add a parameter that indicates the graph to load, which will complicate running the scripts through native Ensemble components or through Composer. I also looked at the executeSPARQLMotion function in the SDK, but I was surprised to see that it doesn't provide a way to specify values for parameters. This would be a really useful feature to have. I'd appreciate any suggestions on how to accomplish this. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
