Auto-Populate InfoPath Form Template Control ScreenTip from XML Schema Documentation - InfoPath Dev
in

InfoPath Dev

Auto-Populate InfoPath Form Template Control ScreenTip from XML Schema Documentation

Last post 04-11-2014 09:00 AM by senecalakemonster. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-11-2014 09:00 AM

    Auto-Populate InfoPath Form Template Control ScreenTip from XML Schema Documentation

    Greetings,

    I was wondering if anyone knows if it's possible to auto-populate an InfoPath form template control (e.g., text box) ScreenTip from the documentation for the bound data field in the XML schema on which the template is based.

    E.g., if I had the following in the XML schema document

    <xsd:attribute name="weeklyHoursCapacity" type="xsd:nonNegativeInteger" default="40">

      <xsd:annotation>

        <xsd:documentation>The number of hours a team member is available in a week.</xsd:documentation>

      </xsd:annotation>

    </xsd:attribute>

    and I have a text box control in my form template for weeklyHoursCapacity, is there any way to make InfoPath automatically populate the text box's ScreenTip with "The number of hours a team member is available in a week."? 

    I'd like to leverage the existing documentation elements in my schema document to provide tips to my form users rather than duplicate the documentation elsewhere (e.g., custom task pane) and/or engage in additional manual work (e.g., enter ScreenTips by hand, as I did for the above example).

    Thank you.

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