-
qRules is code, and as such for a browser form will require admin approval or sandbox publication. I made an assumption this was a browser form, is that correct?
If you have permissions to publish to a sandbox, InfoPath will publish a browser form with code correctly without you having to set anything specifically.....
-
So prior to injection, your form was not admin approved or sandboxed, but after injecting, it is, correct? I wonder if it has to do with the form being admin approved now?
-
Using a secondary data source as part of a default value can be very powerful if you want the value to update every time your secondary data source changes. But it can have undesireable side effects, as you have seen -- if you don't want the value in the main data source to be updated when the secondary data source changes, better to use ...
-
I got your screenshots - what are the postback settings on the equipment type dropdown? Try setting to always and see if you have a change. I'm assuming your rule that sets the FilterOwssvr command is on the equipment type dropdown?
-
That is why it gets updated when the Price changes in SharePoint.
Use rules to set the price instead. Set the rule on the Product field. When the product changes, set the price field....
-
Are you using a default value for the Price field in your main data source?
-
Sure, feel free to send screenshots. If everything is working exactly right in preview, but failing in browser, I'd tend to suspect control postback settings. Any chance that is an issue here?
-
Hi, Donna:
This is not an issue with FilterOwssvr, actually, but an issue with using drop downs in repeating data sources in a browser form. You can't use filters, so you are using FilterOwssvr to make sure your secondary data connection has only the correct items in drop down 2 that associate with drop down 1. However, if the drop downs are ...
-
qRules does not have a function that only adds weekdays, but that is a good idea for a possible future feature!
In the meantime, this blog post may help you with a formula approach.
-
If your multiselect uses a different value for the Id and the Display, you'll need to get the display value from the secondary data source that provides your multiselect options. You may want to see if it would be possible to use the display value for the Id as well in this case.