InfoPath Field Promoted to SharePoint Form Library Cannot Edit

Greetings,
I have an InfoPath 2013 form with a field named "Form Stage".  It's purpose is to maintain a process stage that is subsequently used by a SharePoint Designer 2013 workflow.
When the "Form Stage" field is not promoted to the column in the form library, my workflow is able to access and change the field value.  However, when I promote the InfoPath field to the SharePoint form library field, the workflow is unable
to change that field's value?
Does this sound correct?
My goal is to create a state machine type process where the form and workflow work together based on the stage it is in.  What is the best practice approach for accomplishing this?
Thank you!

Hi,
you just have to change your promoted fields in InfoPath to "allow for editing in SharePOint." 
Go re-publish the form template, and when you get to the stage where you promote columns, you'll need to click on each field individually and check the box at the bottom that allows them to be edited in SharePoint.  Then, your SPD workflows will be able
to update the fields, but be aware that users will also be able to edit the fields without opening the form itself.  Because of this, I typically set my columns to be "hidden" in the content type so that they show in the views but not on the
properties page.
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

Similar Messages

  • InfoPath Form Library cannot edit in Datasheet view, cells delete themself

    Hello,
    I wanted to be able to edit a cell in datashee view for my form library. I have made sure within the publishing wizard that the cells can be edited in datasheet view. This seemed to work fine last week, but now when I input text into the cells, pause for
    3 seconds, the cells then delete themselves???
    I have no idea why, the cells are not read only and I have triple checked they can be edited in datasheet view. they are simple text fields!!
    Has anyone ever seen this behavior before??

    Hi Palumbob,
    I tested the same scenario per your post in my environment, however the datasheet view worked fine when I edited the cells.
    For troubleshooting this issue, I recommend to test the things below:
    Check if there are any workflows or event receivers to set the column value to be null in the library.
    Type value in the simple text field and then click other cells to see how the value works.
    Create a new datasheet for the library to see if the issue still occurs.
    Create a new column in the library and test.
    Create a new library and test.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • WCF Service and Sharepoint Form library : How i can read a access a form libray and query a item from file name and read form xml in WCF service ?

    WCF Service and Sharepoint Form library : How i can read or access a form libray and query a item from file name and read form xml in WCF service ?
    Ahsan Ranjha

    Hi,
    In SharePoint 2013, we can take use of REST API or Client Object Model to access the SharePoint objects like Form Library.
    SharePoint 2013 REST API
    http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx
    http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
    SharePoint 2013 Client Object Model
    http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/jj193041(v=office.15).aspx
    With the retrieved file, we can then use XmlDocument object to parse it and get the values you want:
    http://weblogs.asp.net/jimjackson/opening-and-reading-an-xml-file-in-a-document-library
    http://stackoverflow.com/questions/1968809/programatically-edit-infopath-form-fields
    Best regards
    Patrick Liang
    TechNet Community Support

  • Publishing a text box to be multiple lines of text in SharePoint Form Library

    Hello
    I have some text boxes on an InfoPath form which is then published to a SharePoint form library. However, when the form creates columns in the form library, some of the text boxes are being published as Single Line of Text which then cuts off some of the
    text as users can type more the 255 characters in the text box.
    My question is how can I make sure that the form publishes the field as a multiple line of text instead? Some of the boxes did this by default but there are others that did not and I am missing text on them.
    Thanks

    When you add the control to the form, choose the Multi Line of text option instead of the single line of text option, if you are unsure, when you add the control to the form, right click it and select properties, from here you can change the data type
    from single line of text to multi line of text.
    Regards
    Sergio Giusti
    http://sergioblogs.blog.co.uk/
    Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
    Mark As Answer".

  • Column in SharePoint form library is not editable

    HI All,
    I have Infopath form library with c# code template. After successful publish, few column in form library cannot be editable, How to make them as editable? thanks!
    Here "Change Applied to" column not able to edit, but i need to change its name.

    Hi,
    From your description, I know you want to edit a document name.
    By default, InfoPath published fields do not allow editing of data types. One can allow users to edit and update the metadata structure from the form library, only if it is allowed when the form gets published to the library. you need to allow users to change
    the data type. You could refer to this article:
    http://www.mssharepointtips.com/tip.asp?id=1031.
    Best Regards
    Vincent Han
    TechNet Community Support

  • How to programmatically publish an Infopath form to sharepoint form library

    Hi all,
    I am in trouble because i am trying to find out a solution in C# by which i can publish my infopath form (without any help of publishing wizard in InfoPath form).
    For this i seen that when we publish it through the publishing wizard it creates a new form library on the sharepoint site and then publish the form in this form library, so as same i want to do this by code.
    I have created a code which creates a form library on sharepoint site but i am unable to publish my infopath form in it because i didn't find any method for publish in C#.for this I searched on google(blogs and forums etc..).I have found only upload method
    but i want publish method.
    Thanks in advance.
    Vishal

    Hi Mike,
    Thanks for your reply, I have uploaded the infopath from in form library by code as:
    uploaddoc();
    public
    static
    void uploaddoc()
    using
    (SPSite
    site = new
    SPSite("http://sharepoint
    site/"))
    using (SPWeb
    myWeb = site.OpenWeb())
    //Test3 is library's name, in which we want to upload the InfoPath form
    SPList docLib = myWeb.Lists["Test3"];Stream
    fileStream = System.IO.File.Open(@"c:\desktop\Testform.xsn",System.IO.FileMode.Open);
    myWeb.Files.Add("test3/testform.xsn",
    fileStream);
    docLib.Update();
    could you please describe that how can I associate my uploaded form to this form library
    Regards
    Vishal

  • Incorrect Infopath content type update in form library after modifying Infopath form and publish it

    I have an admin approved InfoPath form. I added new fields to that form and mapped those new fields with site columns. After uploading updated published form through CA, I noticed InfoPath Site content type for that form got updated (with newly added fields)
    under Microsoft_Infopath group. This content type is also added in form library but somehow the new fields are updated incorrectly for this content type existing in form library (it doesn't show new fields, and shows one new field which is incorrectly
    mapped with other column this is happening only in library). 
    Things I tried:
    - Activate/Deactivate that content type feature
    - Deactivated feature, removed form from CA, re uploaded and activated feature
    - Removed those new fields and published and uploaded InfoPath form and then added those new fields and published and uploaded again.
    -Deleted those fields from InfoPath and readded new fields and published and uploaded form but still the problem persists.
    Any help will be appreciated.
    Dhaval Raval

    Hi Thanks for the response,
    But Update all content types inheriting from this type is already checked.
    That form library has multiple content types associated with it , different infopath forms get submitted there. What I noticed is that when I change the form and publish it, its corresponding site content type gets updated but the same content type used
    in form library doesn't get updated properly. I went to form library and checked that erroneous content type, there were some columns missing and one column was mapped incorrectly. When I clicked on "Parent" content type, it was showing all the new Infopath
    fields(updated content type). So I figured that Infopath site content type was getting updated correctly but it was not able to propagate those updates (in a correct way) to the form library. I also tried to edit that content type and tried adding existing
    site columns which were missing but surprisingly it was not showing those site columns either, which were mapped from Infopath publishing.
    The cause for this behavior is : changes/updates to the Infopath content type are not getting propagated to the form library and this is happening for only one infopath content type but other Infopath content types are getting updated.
    I had to delete all the forms using that erroneous content type and then had to delete that content type from the library and then re-added that Infopath content type to the library and this time it was having correct content type (updated columns).
    This is not a perfect solution for the production environment, sounds like it is a bug.
    Dhaval Raval

  • How to update file name of SharePoint form library?

    HI All,
    I have a Infopath form library and submitted as "Form-1". Once update and submit, the same form name should change as "Form-1.1" with out duplicating. How to achieve this, thanks in advance!

    Hi Sam, check out the following link. It will get you started. You'll have to customize the way the file is named differently than shown, but you'll get the idea:
    http://claytoncobb.com/2009/06/20/auto-generating-filenames-for-infopath-forms/
    cameron rautmann

  • 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

  • Auto-populating Infopath fields from a Sharepoint list after selecting a drop down

    I currently have two lists one titled 'Book of Work' which holds details around on-going projects and the other titled 'Book of Work Amendments' which are requests submitted by users to change project details (through an infopath form).
    There is a column in the BoW Amendments list entitled 'Select Project' which has a lookup to 'Project Name' in the BoW list. The aim is that when a user chooses an option from the 'Select Project' drop-down, other fields in the form such as 'Project Manager',
    'Project Description' will be automatically populated with data from that row in the BoW table.
    I have connected both Sharepoint Lists as data connections with BoW Amendments being the primary and BoW the secondary. If we take the Project Manager field as an example the method I have attempted is as follows:
    . Create a rule with condition Select Project is not blank
    . Action - Set a field's value: Field: Project Manager (BoW Amendments - Primary) Value:
    Project Manager (BoW - Secondary) Add Filter: Project_Name (BoW - Secondary) =
    Select Project (BoW - Primary)
    Currently this is not populating the field when the project is selected in the drop down, any assistance would be greatly appreciated.

    Hi Josh,
    This should be straight forward. You do not need BOW Amend data connection. You are creating requests in this list so this will be your Main Data Connection.
    When creating the rule on the drop down, select Action:
    Condition: anytime the value changes, Set a field's value - Project Manager (Main); Value - Project Manager(BOW) where Project[BOW] = Project [Main]
    Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Store Xpath infopath value on a sharepoint form

    Hello all,
    I am very new in SharePoint and InfoPath and I am struggling storing a xpath date value on an "Incident tracker" form.
    Basically, the form works in the following way:
    An issue/incident occurs
    If the incident is new, an incident form is filled up.
    If not, an existent incident is opened and updated, which is set up to print the date (Xpath value) on a part of the form.
    Is there a way I can store that date value on a list or something so we can delimitate and export what incidents have occurred between two dates?
    Any help would be much appreciated.
    Thanks in advance.

    Hi,
    I think thats not related to my question... because that will give me the xpath value of a field once a click a button, but I am not asking for that.
    What I would like to achieve is to store the Xpath date value generated every time an existent incident is amended in a variable, such as an array or list, so i can then short the incidents raised on a specific date period (between two dates).
    Is that possible?

  • Unable to submit any item in the form library through InfoPath form

    I had created a form and link to a form library, but when i click on new document  it show me this dialog box with URL
    ms-infopath:nft|u|.....|s|......
    and then it open InfoPath form after submitting it does't not insert any value in the Form library.
    In my case
    1.I want to remove ms-infopath:nft|u|.....|s|......
    2. Form should open in web browser.

    Hi
    ank89 ,
    Please take steps as below:
    Create a Form using SharePoint Form Library template.
    After customizing the form , click  File ->Publish -> SharePoint Server -> save the form -> in the Publishing Wizard page input your site URL -> provide your authentication account.
    Check “Enable this form to be filled out by using a browser” and Form Library.
    Select your Form Library and edit the Form Library field , then Publish it and you will get what you want.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to create another form library item in Infopath?

    Hi All,
    I have a Infopath form library and submited a new item successfully. But my requirement is, when i update the same item then it should submit as new item in that form library. How to achieve this in? Thanks in advance!

    Hi Sam,
    According to your description, after updating an item, you want to save it as a new item in the Form Library.
    In SharePoint Form Library, the items with names are not allowed to be created. In this scenario, after updating an item, a workaround is that you can submit the item
    as a new Form Library item with another name.
    To save the current editing item with a new name, we can use a formula to generate a date time string as the “File name”, then each time user submits an updated item,
    there will be a new form created in the Form Library.
    Here is the related formula I use in this scenario, you can change the formula according to your requirement:
    The same Form Library items are submitted with different File Names based on current time:
    Here is a link about adding a submit data connection, you can use it as a reference:
    https://support.office.microsoft.com/en-us/article/Submit-form-data-to-a-SharePoint-library-86e3c32d-d921-4b2e-9d74-89bdc62c6936?CorrelationId=d9e73082-2630-48c6-92c7-c001e15315fa&ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • InfoPath File Attachment, After the form is ReadOnly the Attachment cant be opened anymore! *Fatal*

    Hello Everbody,
    well, you know it and everybody should avoid it. You have some huge amout of Test Cases and all go well, so you declare a Project to "Production ready" and then you found out something doesnt work, like happen now at my side.
    We have a InfoPath Form, which is beeing used as Template in a SharePoint Form Library. We have also a Nintex Workflow which asked different People to "approve" or "reject" a form if a new one was submitted. All that works now like a charm BUT, we have also a Field in the Form where you can Add Attachments. Its the Regular "File Attacment" of the "File and Picture" Design Task Window from InfoPath in Designer Mode. So nothing spezial coded or something like that.
    As long a user has Write permissions, he can open those Attachments which are included in the Form (like they should), but in the moment the User has only 'Read' Permissions he CANT Read the Attachment anymore... no iam in a huge mess, its not absolut cirital But the biggest Problem at my ToDo List now so i would be really happy if someone can tell me there is a way out of this situation instead of (and so i think) this isnt a bug/problem - its a feature (you know those sentences...).
    We cant give everbody just their Write Permissions back of those file because they are 'finally' approved and should only be archived for later reviews if needed. But therefore its good to let those reviewer read those Attachments to.

    btw. i've found some information about this isue, and it seems that i am right - its a Feature , not a bug ...
    i have to set every Item in my ReadOnly view to "read only", disable all options to the user to edit something and then uncheck the ReadOnly Attribute of the View self. If i also uncheck the permission for the viewing user to add/delete Attachment he can still open the attachments.
    BUT, what about Checkboxes ? And Drop Down 's ?
    Okay, all drop down windows kann be replaced by normal textboxes with the same Data Source, but what about Check Boxes? There is no option to make it Read Only "in reference" of the current view. Now, i could easly (maybe, only theoretical) create a function which writes into a field the current Viewname and makes all Checkboxes ReadOnly if the View has a proper name. The Problem, in the second the user is opening the form the old value of the "View" Field was (for example) German View, so the function is replacing this text with "ReadOnly" which means the user HAS changed already something on the Form. If he no tries to close the form - he will be asked if he want save those changes (which he cant because he has only ReadOnly permissions on the file) but instead of saving those Changes it generates a NEW submitted Form which is a fallout in this szenario.
    So what now ? Any tipps ?

  • Attachments in Form Library Not Available?

    Are attachments in the Advanced Settings not available in a Form Library like it is in other Library's? I know I can add the attachment link on an InfoPath form, but I would like it to be on the ribbon as well and as a column for my view.
    I am on SharePoint 2013 On Premise.
    Thanks,
    Justin
    It's me

    Hello Justin,
    kindly check the liknk
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c832e3ba-bc4c-4907-a52b-493775a87567/display-attachment-in-sharepoint-form-library?forum=sharepointdevelopmentprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for