Creating two buttons each which link to a Form Content Type Template that is assigned to a Form Library - InfoPath Dev
in

InfoPath Dev

Creating two buttons each which link to a Form Content Type Template that is assigned to a Form Library

Last post 11-15-2014 07:40 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-14-2014 10:37 AM

    Creating two buttons each which link to a Form Content Type Template that is assigned to a Form Library

    I have two content types; each containing an InfoPath Form.  These two content types are assigned to a Form Library. So when I go to the "New Documents" button I could choose one of two form templates.  I would like to create two buttons on a WebPart Page in the Web Content Editor that when clicked on; one button would "Create" a new form based on the first Content Type in the Form Library and the second button would "create" a new form based on the second content type in the form Library.  I am having a hard time creating these links.  If you could be so kind to assist me I would be grateful.

    Another question:  Is it possible that when I click on the button it OPENS the form to a spefici view that was created in the form?  I tried using the &DefaultView=____, but that is NOT working for me niether.  Thanks again.  My email is [email protected]  (Kevin Hollfelder)

  • 11-15-2014 07:40 PM In reply to

    Re: Creating two buttons each which link to a Form Content Type Template that is assigned to a Form Library

    Hi Kevin,

    Thank you posting.

    The link behind the button can be tricky if it's the browser you want to open. You might be able to get the source from the SharePoint page using the view source command in your browser. If you want to open the form in the filler, it's easier. Shiraz Cupala blogged on this many years ago. Navigate to Blogs and click on Shiraz and search on OpenXmlDocument command.

    For the view specific open, just add a rule to your form to switch to a specific view.

    Good luck! 

    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.