qrules v2.2 - InfoPath Dev
in

InfoPath Dev

qrules v2.2

Last post 06-29-2010 06:24 PM by msudeesh. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 06-29-2010 01:22 PM

    qrules v2.2

     Trying the trial version of qRules 2.2 for the first time with infopath 2007 forms service and  infopath 2010 designer

    Trying to use The FilterOwssvr ( concat("FilterOwssvr /dsname=OWS-Unit /filter=BU /value=", .)

     command returns the following error  with the designer.Any help appreciated

    System.NullReferenceException
    Object reference not set to an instance of an object.
       at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()
       at Qdabra.Tools.RulesLibrary.qRulesMain.ExecuteCommand(XmlEventArgs e)
       at Qdabra.Tools.RulesLibrary.qRulesMain.ExecuteCommand(XmlFormHostItem formHost, Application application, XmlEventArgs e)
       at BTNMOC.FormCode.QdabraRules__Command_Changed(Object sender, XmlEventArgs e)
       at Microsoft.Office.InfoPath.Internal.XmlEventHost.GenericProxy(Object genericDelegate, DataDOMEvent dataDOMEvent, InfoPathEvents type)
       at Microsoft.Office.InfoPath.Internal.XmlEventHost.ChangedProxy(DataDOMEvent dataDOMEvent)
       at Microsoft.Office.Interop.InfoPath.SemiTrust._DataDOMEventSink_SinkHelper.OnAfterChange(DataDOMEvent pDataDOMEvent)

  • 06-29-2010 01:50 PM In reply to

    Hi there -- thanks for trying qRules. So you are trying to return items where BU column is blank? The documentation for that command suggests using /value=" (page 32). Can you try that and see what result you have?

    Hilary Stoupa

  • 06-29-2010 01:53 PM In reply to

    Gee, I should have read that a bit closer. You're using a concat formula to set the value as equal to a field in your form. Sorry!

    So does the field have a value when you run the command? Can you try running another command, like GenerateGuid, and check the result node to see if you get a GUID? That way we'll know that qRules is injected and functioning correctly.

    Hilary Stoupa

  • 06-29-2010 02:03 PM In reply to

    Thanks for the Quick Response,I tried the GenerateGuid ,Same error message

  • 06-29-2010 03:08 PM In reply to

    That helps, then. That means there may be an issue with the injection. Can you try re-injecting the trial? And then try GenerateGuid again? If you get the same error, could you reply to this post and attach your template (under the Options tab, you can attach a file) so that I can take a look?

    Hilary Stoupa

  • 06-29-2010 03:54 PM In reply to

    I have attached a simple form with just a button to do Generate GUID.

  • 06-29-2010 05:54 PM In reply to

    Save the attached file locally, and right click, select Design from the menu to open in design mode. Preview the form and try GenerateGuid now. The issue seems to be a second action that you'd added the rule to query a data source. For qRules, we only need to set the command field value for the action to take place -- no need to add an action to query the qRules data source. May I ask if there is something in our documentation that led you to believe you needed to add an action to query? If our documentation is at all misleading, I'd like to know so that we can fix it, and I'd appreciate your input....

    Hilary Stoupa

  • 06-29-2010 06:24 PM In reply to

    My bad,It works now 

    I was trying to set up a cascading dropdown list  so the temptation was to query again.

    I just glanced through the documention did not see any thing that warns about Query.

    again ..it could be the age old problem "Men don't read instructions" .Thanks again

Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.