Forms and InfoPath

Blog Posts

Snippets

  • SharePoint List Data Connections – difference between Data versus Query fields:
    Setting a query field value allows you to filter the data before it is pulled into the form.  Use Query if displaying direct, use Data if performing a filter within the form. To do the filter – select the secondary source field, click the Filter button, then in the 3 columns – first column, choose select another field, then pick the field to map
    .
  • Switching Form Views – controlling which form view is displayed on open:
    Open the form in InfoPath Designer.  Click on the Data tab in the ribbon. In the Rules section of the ribbon, click Form Load.  Will then open the Mnaage Rules taskpane with the options for controlling which form loads.  Create a rule, set condition (I use a hidden Form Status field to control) and for the action, choose Switch View and select the form view to open.  In the Form Options, disable displaying views in the browser form.
  • Close the browser window as part of the Source URL used to open the form (in the browser) – link below with full details
    In created page, add code:
    <script language=”javascript” type=”text/javascript”>
    window.open(“”, “_self”);
    window.close();
    </script>

Links

© 2006 - 2012 Joining Dots Ltd. All rights reserved.

Content is for information purposes only with no warranties or guarantees regarding accuracy = use at your own risk. Ditto for links to other sites.
All product names, logos, brands and other trademarks referred to within this site are the property of their respective trademark holders.