InfoPath Tools > Form Options > Open and Save > Save and Save As

  • 8 February 2012
  • 4 replies
  • 0 views

Badge +1

I am running K2 Blackpoint with InfoPath 2007 on a MOSS 2007 environment.  I notice that in InfoPath forms that are published through the K2 Blackpoint Client do not observe the InfoPath Tools > Form Options > Open and Save > Save and Save As setting.  I have this setting turned off yet when the form is opened (after being published and deployed as part of a K2 Blackpoint Project) I still have the option to Save the form (File Download dialogue box has Open and Save buttons enabled).  Is this expected behavior with InfoPath forms integrated with K2 Blackpoint workflows?


4 replies

Badge +10

Not certain if this is exactly the same problem but it sounds similar to the following post:  http://www.k2underground.com/forums/t/13838.aspx


 

Badge +1

Thanks, Tim, for sending the post.  I thought it was the same issue but it is actually a different issue.  In further research I discovered that the Save and Save As option IS disabled from within the InfoPath form when I've unchecked the option.  I was hoping that this option would also disable the Save button in the File Download dialogue box that appears when I open the form initially.  I have a way around this ... I can put some javascript around the link to the InfoPath form so that when a user clicks on the link to open it they will not encounter the File Download dialogue box.  Turns out that this is really not a K2 BlackPoint issue at all and instead is expected behavior with InfoPath.


 


 

Badge

Would it be possible to share your javascript code.  We have a similar issue.  Thanks.

Badge +1


<a href="BLOCKED SCRIPTcreateNewDocumentWithProgID(escapeProperlyCore('http://URL to form library with your template/Forms/template.xsn', true), 'http://yoursite.com fully qualified', 'SharePoint.OpenXMLDocuments', true)"><img src="/url to an image that you may want to show" alt="" width="64" height="63" hspace="5" border="0" align="right" /><strong><font size="+1">Ask I.S.</font></strong></a>


Reply