Infopath 2010: button action rules deletes automatically upon saving or using rule inspector

Hi,
I have been working on Infopath 2010 for a few months and I have developed a form with some controls, views and buttons. In my form I have 4 buttons 'Save as draft' , 'Submit' 'Reset' and 'Cancel'. I am using all the buttons with action type as 'Rules and
Code'. Except for Reset button, the actions & formatting on three buttons is rules only.
The problem is when I save this form or I run Rule Inspector on form, I see that all the action rules from these buttons disappear. I do not see any error in Rule inspector because the action rules attached to these button disappear before Rule inspector
even starts. same is the case with Save.
To test if its a problem with a rule, I had built another form with the same fields and actions/formatting for this form. But that form seems to work without any problem and none of the rules get deleted. The reason I want to stick to my old form template
is because I am using this form in LIVE and changing a form template will mean changing all GUIDs in the forms that have been on LIVE and in workflow already.
Can somebody help me find a way to solve this problem. 
Regards
P

Hi PoojaGandhi,
Strange problem.
Validation, Calculated default values, actions and programming can display in Rule Inspector, and formatting rules will not display here, so it
is normal that we can't see rules in Rule Inspector if we created some formatting rules.
If you have also action rules in the form, can you see these actions in Manage rules pane or will these rules work even we can't see it? How about
add rules to a new button (in a new view), will it missing?
If the problem persists, the form may corrupt. And please create a new form instead.
Sorry for the inconvenience.
Best regards,
Emir
Emir Liu
TechNet Community Support

Similar Messages

  • Command link / button action is not taking place if i use it in iterator.

    Hi,
    I am new to ADF, i am facing 1 issue while implementing ADF mobile browser application.
    Issue: command link / button action is not taking place if i use it in iterator. its just refreshing the page it self and displaying as no records.
    Scenario is i am populating the search results in results page from search page using iterator, i want to get the complete details in different page (results page -> details page) .
    I have tried in different ways.like
    case1:
    <tr:panelGroupLayout id="pgl2" layout="vertical" styleClass="af_m_panelBase">
    <tr:panelHeader text="#{classviewBundle.SEARCH_RESULTS}" id="ph1"/>
    <tr:iterator id="i1" value="#{bindings.SubjectVO1.collectionModel}" var="subject"
    varStatus="subIndx" rows="100">
    <tr:panelBox text="#{subject.Subject} #{subject.CatalogNbr} - #{subject.CourseTitleLong}"
    styleClass="af_m_listingPrimaryDetails" id="pb1">
    <f:facet name="toolbar"/>
    <tr:table var="ssrClass" rowBandingInterval="1" id="t1" value="#{subject.children}"
    varStatus="clsIndx" rowSelection="none"
    binding="#{SessionBean.subjectTable}" verticalGridVisible="true"
    emptyText="No Records" width="100%">
    <tr:column id="c9" sortable="false" styleClass="width:100%">
    <*tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"*
    id="commandLink2" styleClass="af_m_listingLink"
    *action="#{pageFlowScope.BackingBean.searchaction}"></tr:commandLink>*
    //remaining code
    in this case commandlink action is not able to invoke serachaction() method
    case 2:
    <tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"
    id="commandLink2" styleClass="af_m_listingLink"
    action="classdetails}"></tr:commandLink>
    in this case its not able to navigate to classdetails page.
    I gave correct navigation cases and rules in taskflow,but its working fine when the command link is out of iterator only.
    i tried with actionlistener too.. but no use.. please help me out of this problem .
    *Update to issue:*
    The actual issue is when i use command link/button in an table/iterator whose parent tag is another iterator then the action is not taking place.
    the structer of my code is
    < iterator1>
    #command link action1
    < iterator2>
    #command link action2
    </ iterator2>
    < /iterator1>
    #command link action1 is working but "#command link action2" is not...
    Thanks
    Shyam
    Edited by: shyam on Dec 26, 2011 5:40 PM

    Hi,
    To solve my problem I used a af:foreach instead.
    <af:forEach items="#{viewScope.DataBySubjectServiceBean.toArray}" var="text">
    <af:commandLink text="#{text.IndTextEn}" action="indicator-selected" id="cl1">
    <af:setActionListener from="#{text.IndCode}" to="#{pageFlowScope.IndicatorCodeParam}" />
    </af:commandLink>
    </af:forEach>
    By the way you need to convert the iterator to an Array using a ManagedBean.
    public Object[] toArray() {
    CollectionModel cm = (CollectionModel) getEL("#{bindings.TView1.collectionModel}");
    indicators = new Object[cm.getRowCount()];
    for(int i=0;i<cm.getRowCount();i++){
    indicators[i] = cm.getRowData(i);
    return indicators;
    public static Object getEL(String expr) {
    FacesContext fc = FacesContext.getCurrentInstance();
    return fc.getApplication().evaluateExpressionGet(fc,expr,Object.class);
    Hope that helps-
    Edited by: JuJuZ on Jan 3, 2012 12:23 AM
    Add getEL Method

  • Button action with onclick in a jsp page using Jscript

    hi,
    I am facing a problem in setting an action with a button in a jsp page the error is object does'nt support this function,kindly send me reply as soon as possible.
    Santhosh

    hi,
    I am facing a problem in setting an action with a button in a jsp page the error is object does'nt support this function,kindly send me reply as soon as possible.
    Santhosh

  • How to add User Permissions to form created in InfoPath 2010 created for SharePoint document Library

    Hi,
    I created a form in InfoPath 2010 with three views (one for user input, the other two views to be used by supervisors) and published this to a SharePoint 2010 document library. Now the way this form is supposed to work is that when a User goes to the document
    library and adds a document, it is supposed to open the Form with the User's input view. When the User submits the document, only him/her should be able to open and possibly edit the the form. When the Immediate Supervisor opens the form, it should open in
    the Supervisors view and allow them to fill in only their section and not be able to edit or alter the user's data. When the Immediate Supervisor saves the document, the Over-all Supervisor should be able to open it in their view and not be able to edit or
    alter the sections filled out by the User and Immediate Supervisor.
    How would i go about completing this? I have the views created but now have the problem of associating these views with their respective users or groups.

    Hello,
    You need to first create user group in sharepoint site then add user in group according to their role. Later you need to call usergroup.asmx web service to get current logged-In user group name so you can switch view and also apply rule for editing or disabling
    controls in form.
    Follow this link to get group name:
    http://social.technet.microsoft.com/wiki/contents/articles/13271.sharepoint-2010-extracting-user-group-of-current-login-user-in-infopath-2010.aspx
    http://social.msdn.microsoft.com/Forums/en-US/018f5184-5c83-4a53-b66b-8c376fc800fc/how-to-get-current-users-sharepoint-group-name-sharepoint-2010-infopath-2010
    To apply rule on control:
    http://office.microsoft.com/en-in/infopath-help/add-rules-for-performing-other-actions-HA101783373.aspx
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Products are being deleted from manually created invoices upon saving.

    What happens is I create a manual invoice and save it, but upon saving, some of the products are removed from the invoice.
    Are you only allowed to list a certain product once on an invoice? It may be this that is causing it? However I wish to list products individually and not by using multiples of them. I have had this issue before with manual invoices changing upon saving.

    Please use the form under http://www.businesscatalyst.com/contact then

  • How to delete an Item using Button control in InfoPath 2010

    Dear Experts
    In my SharePoint 2010 List, I have added and using below controls instead of Ribbons
    1) Save (button control)
    2) Cancel (button control)
    3) Delete (button control)
    My requirement is when i click on Delete (button control) in edit form then particular item has to be deleted
    How to achieve this
    Regards
    Santosh

    Hi Santosh,
    Please check this 
    http://www.bizsupportonline.net/browserforms/delete-sharepoint-list-items-object-model-infopath-browser-form.htm
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Set lookup field value based on another lookup field using Infopath 2010 rules

    Hello,
    I created 3 lists in SharePoint 2010: Lists A, B and C. The lists B and C where create to work as a drop-down fields in List A. My question: How to I set field C automatically based on what is selected on field B using Rules in Infopath 2010?
    I don't know what to put in the third field:
    Thanks,
    Elvis

    It looks like you edited the question since you first asked it. When I posted my first answer, there were no screenshots in your question and it was not easy to figure out what you want to achieve.
    I asked for clarification. You did not reply to my post.
    Instead it seems that you edited your question and added more detail. This is good, because it helps people to understand what you are asking.
    But when you change a post (YOUR QUESTION) that others have already replied to, you must acknowledge these replies and let people know that you are posting new information.
    In this forum, people get emails when there are new replies to a question. That's how I found back to this thread. I do not get an email if you edit your question to add more information. 
    So, don't be surprised if you edit your question and people still don't respond. The people why have already replied to your question will not be notified if you make changes to your original question. 
    If you want to make sure that everybody who is interested in your question gets notified about new information, please add the information in a new comment to the question, or edit the question and then post a new comment "I added more details".
    This way, everybody already subscribed to your question will be notified about the new content and can help you find a solution. 
    cheers, teylyn

  • How to disable delete option or symbol in attachment control in infopath 2010

    Any have any idea how to disable the delete option or symbol near the attached file using attachment control in infopath 2010.
    I have created a custom list in sharepoint online 2013(Office 365) and customized it in  Infopath forms 2010 
    i want tht user can attach the files using attachment control but not to allow to delete other attached files.
    plzzzzzz help me out :( .

    Hello,
    As per my finding, you have to custom create event receiver to handle this situation. Use "ItemAttachmentDeleting" event to prevent user to delete attachment. Please refer below MSDN link to implement this:
    http://stackoverflow.com/questions/2023414/prevent-deletion-of-attachments-from-a-sharepoint-list-item
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Checks before deleting data connection in Infopath 2010

    I have one form which has more than 80 fields and about  7 sections. This form was published to PROD before year back now client found some performance issues while opening/submitting form.
    I checked and found one retrieve data connection is culprit. Now i want to delete that connection and create different one, but before deleting it, i have to find out all the references of this connections i.e- check where any columns used in rules, default
    values or validations etc.
    It's difficult and time consuming task to check each and every field in the form. Is there any easy trick to do this?
    w: sandippatilblog.blogspot.com/

    Found the solution, here below are the check
    1: Run Rule Inspector, for this go to DATA-->Rule Inspector form toolbar
    2: Delete the connection and try to publish the form, if form contains any rules or default value corresponding to deleted connection then form will not get published. It will give prompt to check errors, for this check the form using design check and see
    errors, then find the references about the errors on the form.
    w: sandippatilblog.blogspot.com/

  • InfoPath 2010 form parsing error with 3600 execution timeout value in SharePoint 2010

    Hi,
    I have a list in SharePoint 2010 with 100 columns where 25 of them are calculated columns. This list is designed by InfoPath 2010 with two secondary data connections to pull a few data from another two lists. There are 25 set value rules with the submit
    button in InfoPath from. At present, the list is containing around 1000 items.
    The problem is, when I published the InfoPath form it throws an error:
    The SOAP message cannot be parsed.
    In fact, the execution timeout is set to 3600 in config file. When I delete items from the list and keep it around 700 the InfoPath form publish then.
    Could somebody tell me why this problem and what is the possible solution.
    Thanks in advance.

    Hi pointtoshare,
    According to your description, my understanding is that you got an error when you published InfoPath form.
    Please modify the web.config file like :
    <location path="_layouts/UploadEx.aspx">
         <system.web>
           <httpRuntime maxRequestLength="51200" executionTimeout="300" />
         </system.web>
       </location>
    And modify the <securityPolicy> section like :
    The web.config file is in C:\inetpub\wwwroot\wss\VirtualDirectories\spwebappname.
    There is another reason for this issue, please take a look at :
    http://www.heyweb.net/2011/07/infopath-the-soap-message-cannot-be-parsed/
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/ea8da113-fe9a-4878-9994-c1f24cc85c37/soap-error-when-publishing-infopath-form-to-sharepoint?forum=sharepointcustomizationprevious
    http://sharepointshah.blogspot.in/2012/11/soap-message-cannot-be-parsed-error.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2010 and InfoPath 2010 - Load data from another form

    Hello,
    I have two questions on this topic.
    Is it possible to open an empty InfoPath form and give the user the option of loading it with data from a previously submitted form?  They want the ability to save some time of filling in some fields that were entered in an earlier form.  Any description
    of how or a link would be appreciated.
    Also, if I create an InfoPath form template in a SharePoint Form Library like above, the user would like to be able to have multiple forms associated with each other.  There would be some key that packaged them with each other.  Then from within
    one of the form, there would be an option to submit the whole "package" at once.  All the forms associated with that one key.  Again, any examples or links would help.
    Thank you!

    You can use InfoPath Query Data connection to point to a library / list where your data is located.
    For loading data, you should be using Form Load event, and then populate ID's to a Drop down list.
    when the user selects the ID from the Drop Down list, you can write another rule to query data based on the ID's from the list and store the values in your current form.
    For the second question, you should try creating a single form with multiple views. and show hide views based on user or business logic.
    You can write multiple submit rules to submit Form data to different different library / list.
    here are some links for your reference -
    Add, delete, and switch views (pages) in a form
    http://office.microsoft.com/en-us/infopath-help/add-delete-and-switch-views-pages-in-a-form-HA101732801.aspx
    Add a data connection to a SharePoint document library or list
    http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-HP010093160.aspx
    Automatically query by using a data connection
    http://office.microsoft.com/en-us/infopath-help/automatically-query-by-using-a-data-connection-HP001100271.aspx
    SharePoint List Data Connections in InfoPath 2010
    http://blogs.msdn.com/b/infopath/archive/2010/05/06/sharepoint-list-data-connections-in-infopath-2010.aspx
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • Filtering a sharepoint 2010 list using Multiple values from Multi-Select Filtering In Infopath 2010 form

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

  • Why does text field in InfoPath 2010 show user name with two commas between first name and last?

    Here's the problem. I have a text field called Manager in an InfoPath 2010 form that is getting populated by a drop down field called
    Business Unit.
    The Business Unit drop-down field is pulling information from
    column A in a custom list via a managed data connection. The custom List has two columns:
    Title & Manager. 
    The Manager column in the custom list is a 'Person or Group' type column.
    The Data Connection pulls both the Title, Manager
    (and ID) data.
    There is a rule on the Business Unit drop-down field to change the value of the
    Manager text field with the Manager data on the custom list. The rule pulls the
    Manager information and filters the value to match the
    Business Unit on the Data Connection with the Business Unit drop-down
    field value (Main).
    The Business Unit drop-down field works great and pulls the value from the custom list, and the rule populates the Manager text field. The problem is that Manager text field shows the name as such:
    [smith,, john]. Notice the two commas between the last and first name. There should only be
    one comma!
    Anyone have an idea why the text field is appearing with two commas?
    Arnel

    Hi all,
    I have a workaround for this. I have an InfoPath 2010 form pulling data from a SP2010 list. The user chooses a System (Business Unit) from the dropdown list and that choice auto populates the associated user (Manager) for that system. I had to
    use concatenation, substring before and substring after to display the correct data.
    concat(substring-before(DisplayName, ",, "), ", ", substring-after(DisplayName, ",, "))
    DisplayName is the original data for the field. I am able to cut & paste this field into the formula. Therefore, I added a few spaces to separate it from the actually formula for future use.
    Select Insert Function
    Select concat
    Select the first link to double-click to insert field
    and then select Insert Function
    Select the Text category and choose substring-before
    Select the third link to double-click to insert field
    and then select Insert Function
    Select the Text category and choose substring-after
    Copy and paste your fieldname (in my case DisplayName) in the
    double-click to insert field
    parts of the substring-before and substring-after links.
    Delete the middle double-click to insert field link
    Add quotes, spaces and commas so that they match the following format:
    concat(substring-before(DisplayName, ",, "), ", ", substring-after(DisplayName,
    Translation:
    concat(substring-before(Doe,, John, ",, "), ", ", substring-after(Doe,,
    John, ",, "))
    Bring together all of the text before ",," (i.e. Doe) with ", " (comma, space) and all text after ",," (i.e. John).
    It should return
    Doe, John.
    I hope this makes sense. I have these instructions with screenshots if you need them, contact me.

  • Can multiple button actions be implemented by creating just one RFC?

    Hi All,
         I wanted ask a general question "is it possible to create just one RFC for multiple button actions such as delete, insert, search, modify, copy".
       I tried using one RFC for all the above mentioned actions but I wasn't able to consistently get expected results. So, I just want to confirm from SDN forum members that is it a good practice or is it advisible to create individual RFC for each button actions?
    Earlier responses would be much appreciated.
    Thanks
    Uday

    Hi,
    I did not see any problem for that creation on multiple button actions such as delete, insert, search, modify, copy".  These actions depending up on your RFC.
    For Example. Your RFC having Insert and Delete Functionality you can develop these two Actions. i.e is depending upon your requirement and Depending upon you r RFC functionality. That
    RFC donu2019t gave insert, Delete, modify these functionalities no need to create these Actions.
    So there is no restriction for call the RFC Via Actions(buttons)
    Hope this is help full for u
    Regards
    Vijay

  • GRC RAR Action Rules

    Hi ,
    How many action rules will be available in Global rueset ??
    I am getting : Total no. of rows : 135486 in RAR Screen ???   Is it normal to have this many?
    Also, the query was taking so long...
    ( I know we can use filter, but even though the querie is taking so long)

    The answer is difficult, because the nuumber changes depending upon which release/version of the global ruleset you have loaded, and whether you have loaded the set of files that include all applications or whether you have loaded the individual files for each module as they are all diffewrent in their contents.
    You will need to explain which version you are using of the ruleset files, ie: whch version of AC 5.2 or 5.3 and SP etc.
    Also how many systems/connectors did you load the files against.
    Edited by: Simon Carty on Dec 21, 2010 8:57 AM

Maybe you are looking for

  • Network Cable Unplugged when chaning power outlet

    Im on a T60 running XP version 2.10.  When I connect to AC power when switching from one power outlet to another power outlet I get "Network Cable Unplugged." It disconnects and connects back to the network.  This wouldnt be a big deal but when it ha

  • Component resize, paint and AffineTransform

    Hello, I am resizing a JInternalFrame that contains a JPanel. When I call: MyJPanel.repaint();The paint function gets the dimensions of the JPanel using getWidth() and getHeight(), once, at the start of the paint function. The function then proceeds

  • Windows 2012 - SYSVOL replication and NETLOGON share

    After reading 100 tons of articles and links i decided to open this thread. I know today is 1st of april, but unfortunately for me this is not a joke. given: two 2003 DC's - physical servers two 2008 DC's - VM's on ESX 5.1 hosts two 2012 DC's - VM's

  • Getting Error while installing UCM

    Hi All, Am getting error while installing the UCM in my system. Error description:- NOTICE:     Install logging initialized at 2/5/10 3:34 PM. NOTICE:     Installing master server. NOTICE:     Installing with Java version 1.5.0_11. NOTICE:     Instal

  • How to inactive checking available budget when creating reservation

    Dear SAP Guru, Need your advice in how to inactive checking available budget when creating reservation under Project system and Investment management module Many thanks in advance. Nies