Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (8 items) Re: Custom Code to open a URL resulted in: Business Logic failed due to an exception. Type: SecurityException error Hi Hillary, thanks for replying. I don't understand what you are saying. Is there something wrong in my code? Posted to Browser Forms (Forum) by Plee_agi on 07-16-2013 Custom Code to open a URL resulted in: Business Logic failed due to an exception. Type: SecurityException error I am writing a simple custom code to a Button control in C#. The code is supposed to open a URL in the same window. public void CTRL10_5_Clicked(object sender, ClickedEventArgs e) {string URL = "www.google.com"; System.Diagnostics.Process.Start(URL); } Note: Typically, I would have a Hyperlink control, ... Posted to Browser Forms (Forum) by Plee_agi on 07-16-2013 Re: Get user name from Infopath form to a SharePoint List Hi Gennady: I tested your solution and it works. But now I want to create a filtered view using the 'Display Name": a. In SharePoint 2010, I created a view using 'My documents' template. b. For the view filter, I tried to replace [Modify By]; with 'Display Name'. The Filter formula should now be: ... Posted to SharePoint Integration (Forum) by Plee_agi on 01-31-2013 Re: Clearing an attachment from an InfoPath form I tired your second code (which has the CreateAttribute line). This successfully cleared the attachment control -- and it does not leave me with a validation error. Thanks for your help! Posted to Browser Forms (Forum) by Plee_agi on 12-11-2012 Re: Clearing an attachment from an InfoPath form No. The script that I posted does not cause validation error. The error occurred when I copied the script from the 2nd link, which dateTime object as a parameter to SetValue. Do I really need to CreateAttribute after DeleteSelf? Posted to Browser Forms (Forum) by Plee_agi on 12-11-2012 Re: Clearing an attachment from an InfoPath form Yes I did try it -- copied the exact script which resulted in the validation error. After further experimenting, this solution finally did the trick: public void FormEvents_ViewSwitched(object sender, ViewSwitchedEventArgs e) { ... Posted to Browser Forms (Forum) by Plee_agi on 12-11-2012 Re: Clearing an attachment from an InfoPath form Thanks for your reply. The reason that I am not using rules: the original posting did not offer such a solution. You either did it manually or use his script. My project requirements are:Create a form solution published to SharePoint.Add a feature that allow users to upload documents to a document library on the same ... Posted to Browser Forms (Forum) by Plee_agi on 12-11-2012 Clearing an attachment from an InfoPath form I am writing a code that would programatically remove any content from an Attachment control. There is a nice article about this from bizsupportonline >> http://www.bizsupportonline.net/blog/2009/10/delete-remove-clear-attachment-infopath-form/ a. I created an InfoPath 2010 form, with an Attachment ... Posted to Browser Forms (Forum) by Plee_agi on 12-05-2012 Page 1 of 1 (8 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.