custom button in toolbar with rules from default b - InfoPath Dev
in

InfoPath Dev

custom button in toolbar with rules from default b

Last post 12-28-2005 06:16 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-21-2005 11:37 PM

    custom button in toolbar with rules from default b

    Can I add a rule of a default button in form in manifest.xsf in a
    custom toolbar button?

    When I copy a rule from default button in form to a custom toolbar
    button I get an error. InfoPath doesn't opened.
    I need a rule in a custom toolbar button.

    My modified manifest.xsf:

    <xsf:toolbar caption="MyCaption" name="myToolbar">
    <xsf:button name="btnCancel" caption="Cancel" icon="106">
    <xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
    </xsf:button>
    </xsf:toolbar>

    <xsf:unboundControls>
    <xsf:button name="btnTestClose">
    <xsf:ruleSetAction ruleSet="ruleSet_9"></xsf:ruleSetAction>
    </xsf:button>
    </xsf:unboundControls>
  • 12-28-2005 06:16 PM In reply to

    Re: custom button in toolbar with rules from default b

    Hi Mancha and welcome to our forum,
    In general, be very careful when manually modifying the manifest.xsf. Rules work on buttons in the view but the buttons in the toolbar must have code behind.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.