Views in Infopath 2013

I have created an customized list form in InfoPath 2013.I have two views. One is user information where some user data is auto populated and some are filled by the user and I have also added attachment control. And another view is manager view who reviews
the user form.
here my problem is I want that attachment attached by user should be read only in manager view. In manager view manager only can read that attachment but should not able to add another attachment.
Please help me how to solve this issue.

In order for the attachment to show, you'll have to have the attachment control on the form. Unfortunately, this is not a field that can be disabled. You can add it to a section, but sections can only be hidden. You can make an entire view read only, but
that would mean all fields are read only. If you need the other fields to be editable, then you'll need to do some sort of custom code to hide the attach button and the delete attachment button.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

Similar Messages

  • Create several forms in infopath 2013 for list item

    Hi
    I have a list
    I would like to create SEVERAL view
    in infopath 2013 each indepanate
    view to another by URL
    For exemple :
    i have "list costumers",
    And i have (
    forms 1 = www.msdn.com/liste/form1
    forms 2 = www.msdn.com/liste/form2
    forms 3 = www.msdn.com/liste/form3
    Said WAHID

    Hi,
    You can create the multiple views in the InfoPath form and switch the view based on the rule.  In our scenario, you can switch the rule based on the list view.
    Please refer to the following article.
    Add, delete, and switch views (pages) in a form
    InfoPath 2010 – one form, multiple views
    Please mark it answered, if your problem resolved.

  • InfoPath 2013: InfoPath cannot load the view. The view may have been modified to contain unsupported HTML such as frames.

    Hello Folks,
    I'm facing a strange behavior of InfoPath 2013 while using with SharePoint Designer 2013 to customize the forms. Whenever i open any SharePoint form to customize it in InfoPath 2013, it gives me error "InfoPath cannot load the view. The view may have
    been modified to contain unsupported HTML such as frames."
    Just like all other folks, i also assumed that the forms are corrupted and i need to change the extension to *.cab and blah blah blah. But, when i noticed that the error is coming with new list forms, new workflow forms as well then i tried to research on
    the issue. Surprisingly, all forms are opening on my colleague's PC but not from my PC. We're using the same server, same SharePoint Production, same SharePoint Development and similar InfoPath. Infact, our system team has prepared both of us in a similar
    way. The only difference is OS, where he is using Win 8 and mine is Win 7 Pro.
    Therefore, from last 1 week, i've to swap my PC with my colleague if i've to customize or update any form in InfoPath 2013. This is quite bizarre. Can someone let me know what's wrong with this issue?
    Regards,
    Sohaib
    Sohaib Khan

    Hi Sohaib,
    I'd like to double confirm with you that the issue only occurs to your client machine. Please log on to another machine and see if the issue is related to your account.
    If the issue is only related to your machine, I'd recommend you clear InfoPath cache and repair Office program.
    Then go to InfoPath > Options > More Options > General > Internet Options > Add SharePoint sites to your trusted sites and disbale protected mode.
    http://blogs.msdn.com/b/michael_yeager/archive/2008/07/09/infopath-cache.aspx
    http://office.microsoft.com/en-in/infopath-help/repair-office-programs-HA010357402.aspx
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • InfoPath 2013 - Rich Text box - Expand to show all text option not working

    I have create an InfoPath form and created a view which will be used for printing. I have a rich text box in this print view and the scroll option for this rich text box is set to "Expand to show all text". However, it is not working and it doesn't
    expand the size of the text box based on the content length.
    same thing used to work in InfoPath 2010.
    Any suggestions?
    Thanks,
    Neelesh

    Hi Wendy,
    Here are the steps I have used:
    1. On default view added a rich text box.
    2. Created another view called Print and mapped it to the same Field which I added to default view
    3. Set the Wrap text and Expand to show all text on both the Rich Text Box Properties - in default view and in Print
    view. Also set the height of the rich text box to auto.
    4. Set the print views as the print view for default view
    5. Deployed the form to SharePoint Form Library
    6. Opened the form in browser
    7. Entered the content in the rich text box in default view. It expands well if I have much content
    8. Clicked on Print preview and that opens up the print preview and it shows the rich text box only one line in height and with scroll bar
    I missed to mention that it is a web browser enabled form and I am using InfoPath 2013 and SP 2013.
    It does work fine in InfoPath client.
    Thanks.

  • Infopath 2013 - Values are not appearing in a drop down field referencing site column which uses lookup in custom list

    I have a master custom list that has a set of site columns. For each site column there is a lookup to a custom list with reference data. When I edit the list in data entry view all values in drop down fields work fine, but when I customize the form for
    the master list, no data appears in the drop down fields. I can change the data binding on the form so it references the the correct data and when I preview the form it works. But when I publish it, no data is available in these drop down fields.

    Hi  shakonarson,
    According to your description, I try to reproduce your scenario but the lookup field works fine.
    When we customize the form for the  list  in the InfoPath 2013 , it is by design that the Drop-Down List Box control cannot  display its value.
    For troubleshooting your issue, please take steps as below:
    Go to lookup List Box on your form in  InfoPath 2013 , right click it and choose “Drop-Down List Properties” from the bottom of your field menu.
    Make Sure you select “Get choices from an external data source” and correct Data source.
    Make Sure the Xpath  of Entries is “d:SharePointListItem_RW” under the dataFields.
    Here is a good blog for sorting lookup column DropDown by customizing your list form with InfoPath you can have a  look:
    Sort SharePoint lookup column Dropdown by customizing your list form
    with InfoPath
    Hope this helps!
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Access Denied Using REST in SharePoint 2013 and InfoPath 2013 environment

    So here is the story. I developed a simple application in InfoPath 2013 (saving as InfoPath 2010) and published to a SharePoint 2010 server. 
    A major component to my form is the use of REST to query a SharePoint list. Everything works fine and dandy through the web browser within the SharePoint 2010 environment. Now that I have moved the source list to SharePoint 2013, saved the form as InfoPath
    2013, reset the REST data connection, and published to SharePoint 2013, I get the following message on the Form Load. 
    Warning
    An error occurred querying a data source.
    Click OK to resume filling out the form. You may want to check your form data for errors.
    Hide error details
    The underlying connection was closed: An unexpected error occurred on a receive.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation ID:116a259c-904c-d098-fc14-956c88240dd8
    When I go to the Event Viewer, I see this......
    WebHost failed to process a request.
    Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/55627478
    Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/ListData.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been
    thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Any thoughts, questions, or troubleshooting ideas would be very welcome!
    Thanks in advance. 

    Same issue here calling UserProfile REST.
    ULS says:
    The following query failed: My REST Web Service (User: 0#.w|domain\administrator, Form Name: Personal, IP: , Connection Target: , Request:
    http://server/_layouts/15/FormServer.aspx?XsnLocation=http://server/Pesonal/Forms/template.xsn&SaveLocation=http://server/Pesonal&ClientInstalled=true&DefaultItemOpen=1&Source=http://server/Pesonal/Forms/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:PErsonal:-myXSD-2013-09-27T19-45-38
    Type: DataAdapterException, Exception Message: The form cannot run the specified query. The remote server returned an error: (401) Unauthorized.)
    It works fine in Preview and Filler but dies in the browser.
    SharePoint 2013
    Matthew McDermott, MVP SharePoint

  • So this is new... InfoPath 2013 on SharePoint 2013: Create a New Custom List, Edit Form in InfoPath, Attempt to Publish and...

    InfoPath blows up with an error message saying "Invalid form template"...
    No, I do not have any added data connections in the form.
    No, I have not added any fields or done any modifications of any kind to the form.
    I am doing exactly these steps:
    Open SPD
    Create a New Custom List
    Open List in SPD
    Click "Design Forms in InfoPath" (Item)
    Form opens in InfoPath 2013
    Click Publish (or Quick Publish...doesn't matter)
    See error message
    This wasn't a problem in my environment liiike, a week ago..? The only thing that's different is that I installed some security patches on the servers this morning...
    KB2737989
    KB2956153
    KB2956180
    KB2881078
    KB2760361
    KB2956175
    KB2956183
    KB2956143
    KB2920731
    KB2956181
    KB2760554
    KB2760508
    KB2880473
    KB3048778

    Hi ramz,
    Also you can try to check if there are more useful ULS logs related to InfoPath issue according to the time of this error "Invalid form template" occured, it could help troubleshoot the issue.
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Close Window.Open after InfoPath 2013 submit form

    Hi,
    I've made an InfoPath 2013 'new' form in SharePoint 2013, but when the form is committed, it should close. So I've made a button on the form to submit it. In the rules in InfoPath, I said that it should close after submitting.
    I open this form from another internal application as a window.open() javascript. In IE, it opens the form, when I submit, it stays open and the SharePoint list where the data is added to is opened too. However, in Chrome, it opens
    the list in the same window after submitting, which is already slightly better.
    My InfoPath rule when I submit:
    So the idea is that the internal application opens the form thru a link, user fills in the form, the form submits to the list and every window closes, so the user can continue in the application, without seeing anything the SharePoint is doing in the background.
    Hope any1 can help me solve this issue.
    Kind regards,
    Nils

    Hi,
    Thanks for the reaction. I've just checked these links:
    The first one: I don't have any rules set to change the view of the list, so this isn't the case.
    The second: As you already see in the screenshot, I've set the submit to the right action.
    So, I guess neither of them are a solution to my problem, but thanks already for answering!
    Hope anyone else or you have/has other idea's.
    Thanks in advance,
    Nils

  • Office 365 Sharepoint Online and Infopath 2013

    I'm looking create an InfoPath 2013 form where the view changes based on the current user.  This is so different departments & managers get access to fields regular submitters don't see.
    This is in SharePoint Online with Office 365.  How can I manage this?  I have tried connecting to SharePoint online via a data connection, but I get errors when it tries to make the data connection.
    Are there any tutorials on how to do this, or at least something put point me in the right direction?

    Hi
    Did you check this
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-infopath-forms-services-HA102771487.aspx

  • Infopath 2013 use rules to display validation error

    In a new InfoPath 2013 form, I want to add rules that will display validation error messages on textboxes when a user enters invalid data. This would be like when no data is entered entered (left) blank.
    I would like to display a unique error message under each textbox that is incorrect preferably. I would like the error to stand out and be unique with wording and colors being red.
    Can you show me how to accomplish this task?
    If this is not possible, can you show me other ways I can highlight the column and indicate somehow there is a problem and hopefully show what the problem is?

    I think there is a misunderstanding. You don’t need any C# code to validate the data in the form. InfoPath form is there for non-developer. Simply use InfoPath Validation Rule to validate your data.
    If necessary, you can add text box with validation message and set up Format Rule to show/hide.
    You can also create View as your form review step. Click “Page Design” ribbon tab
    à Click “New View”. Then, add a button to switch the view in the main form. When
    user clicks the button it will navigate to review form which is another InfoPath View. I think I’m going too far. You may need to open a new thread since creating a new form (View) is different topic.
    백상하 - Stop hacking my blog http://blog.naver.com/agilepoint
    쉐어포인트 배움터 http://sharepointkorea.com

  • InfoPath 2013 customized forms no longer working after linking Sharepoint 2010 list to MS Access 2013 database

    Hello,
    I am having trouble with my infopath form now that I have linked my Sharepoint list to an Access database.  
    Background:  I created a simple SharePoint list and a few workflows to have users submit requests for changes to my organization's EMR system and have those requests be approved by the appropriate manager/department.  I used
    InfoPath to customize my form so that it would hide/show different portions depending on what the user selected.  The form has 3 views: NewItem, EditItem, ViewItem. 
    Issue: The form and workflows were working great until I linked my SharePoint list to an access database so that I could run queries and reports using that information. Now when I click "Add New Item" on my Sharepoint site,
    the correct form opens but the fields do not allow me to input any data and some of the formatting for the form has changed (ie: the text boxe fields are no longer centered.  I opened the form in InfoPath and it displays perfectly fine in there but
    not once it's published to the site) . 
    The only way that I've been able to input new data is using Datasheet view in SharePoint.  
    Is there a way to fix this issue?  I really need to be able to have the customized forms for users to fill out the information since most users are not familiar enough with SharePoint to expect them to be able to use Datasheet view to submit their requests. 
    Again, I'm using InfoPath 2013, Access 2013 & SharePoint Server 2010
    If the issue cannot be fixed, how can I disconnect or unlink my SharePoint list from the Access database because when I cliecked on "delete list" from inside Access, a warning popped up stating that it will also delete the list off of SharePoint
    as well.  If I can get the list back to the state it was in before linking to Access then I'll be happy enough to export it excel and then importh the excel file to Access as a work around for reporting purposes since I don't have to run the reports that
    often. 
    Any insight would be very helpful!!

    Hi Bostic,
    I tested the same scenario per your post in my environment, however the InfoPath form was not affected if I used the list as external data in Access database.
    The issue may be due to the browser you used.
    I recommend to verify the things below:
    Change another browser to see how it works.
    Add the site to the trusted zone and add to compatibility settings in Internet Explorer.
    Test with a new list to narrow down the issue scope.
    As a workaround, you can save the list as a template including content, and then create a new list based on this template.
    Learn how to Save a SharePoint List Template:
    http://www.fpweb.net/sharepoint-2010/tutorials/content/save-list-template/#
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Infopath 2013 form load problems connecting to a SharePoint Library.

    I have created an Infopath 2013 form.  I am connecting to a SharePoint 2013 library.  In the infopath form I have multilple views with rules. (Rule is:  if title field is blank use default view). When I first open/create a new form in sharepoint
    (using the web browser option) the default view is there.  After submitting the form, I then try to add a new form and the second view is now the default view.  Is there a setting I need to change.  I have pretty much tried everything I can
    think of to fix this.  Your help would be greatly appreciated!

    Hi,
    According to your description, my understanding is that the second view became the default view when adding a form in SharePoint library.
    By default, the default view will be loaded when opening the form.
    How did you set the rules in the InfoPath form?
    If the form loads with the second view when opening the form, I recommend to check if there is any Form Load rule to load the second view by default.
    Could you please provide more details about the form for reproducing?
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Infopath 2013 generic error message that displays

    In an InfoPath 2013 custom form that I created, I have several columns that are required. If the user does not enter all the data that is required, the automatic generic error message is displayed.
    I would prefer to make the error message that is more 'user friendly'. Thus can you tell me if there is a way to make the error message more user friendly? If so, would you tell me how to make the message more user friendly?
    The generic error message that is automatically displayed is:
    'InfoPath cannot submit the form because it contains errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values). use ctl+shift+O to go to the next error. Use ctl+shift+I to view error details'.
    Thus can you show me how to make this error message more user friendly in InfoPath 2013?

    Hi Wendy,
    All the error messages for the InfoPath form errors are stored in the intlcorestrings.js file which is located in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\INC.
    If you want to modify the error messages, then you can modify that file to change the corresponding error message.
    Per my knowledge, the error you want to customize is IntlCoreStrings.k_strSubmitBeforeErrors and IntlCoreStrings.k_strSaveSubmitErrorInformation.
    You can change the two lines.
    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

  • Auto Numbering in InfoPath 2013

    Hello,
    I am brand new to InfoPath.  I was trying to follow some videos and tutorials I found on auto-numbering a field in a form. I had a hard time following because it seems there are slight nuances between versions, and 2013 acts and looks different
    than the tutorials I found. For instance when assigning a value to a field like max(@ID) + 1,  whenever I use the @ sign I get an error in the formula.  Does anyone have a complete InfoPath 2013 'how to' create an auto-number
    field on a form?  Thanks 

    Hi,
    Depend your description, you want to get some information about how to create an auto-number field via InfoPath 2013.
    The steps below about how to create an auto-number field are that I have operated in my InfoPath 2013, and you can follow it:
    Create a custom list, named "Auto".
    Create a column in that list, type number, named "Auto No.".
    Clicked List -> Customize Form and edit default form in InfoPath.
    Clicked Data -> Data Connections -> Add in InfoPath.
    In "Data Connection Wizard", set New Connection to Receive Data -> SharePoint library or list -> set URL of my "Auto" list -> only select ID column  -> checked "Automatically retrieve data when form is opened"
    In InfoPath design view, right click "Auto No." text box -> Properties -> Default Value -> fX button -> Insert Function -> Math -> Max -> OK -> double clicke on the formula to select field -> Show advanced view ->
    in "Fields" drop-down choose secondary data source (named as my "Auto" list) -> selecte 'ID' node in 'dataFields' -> OK -> back in formula type '+ 100' (so the whole formula is like: 'max(ID) + 100')
    Publish it to SharePoint list.
    Here are the links about the details of creating an auto-number field, and you can take a look:
    https://3dcios-web.sharepoint.com/delong/Lists/Posts/Post.aspx?ID=8
    http://www.sharepointsharon.com/2011/11/infopath-2010-reference-filename/
    Thanks,
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to create a quarterly view in SharePoint 2013

    How do you create a 3 month view in SharePoint 2013, preferably without adding code?

    Hi 
    you can create two additional calculated column to do.
    http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/
    http://iwillsharemypoint.blogspot.in/2012/03/sharepoint-list-view-of-current-month.html
    Rajendra Singh
    Walking on water and developing software from a specification are easy if both are frozen
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • Not able to view EBS report in EXCEL format

    I have a requirement to create a report to be output in EXCEL directly. We are currently using EBS 11.5.10.2 , BIP 10.1.3.4. I did the following (1) Defined a Report using 6i Report Builder, a simple "Select * from X" report. Added it to an EBS resp

  • Problem with Yahoo! Finance

    On my PC (IE) I had Yahoo! Finance set up so that the stock quote for my stocks updated on the screen. In Safari, it does not happen. Anyone have this problem?

  • When will ora-01555 error not be recorded in alert file?

    Application side repeatably gets ora-01555 error, but from alert log, there is no such error recorded. I recalled normally this error will be recorded, so under which condition we can't find this error in alert file?

  • ITunes Library file corrupt or unreadable -- unable to be saved

    When I open itunes, I have to import my library everytime... and it says that the library file is corrupt or unreadable and cannot be saved. Can anyone else with this issue, please?

  • BAPI_ALM_ORDER_MAINTAIN Operation User Status Update

    Hi All, I am trying to use this BAPI_ALM_ORDER Maintain to update the user status at the Operation level, but am facing the following issue: In the IT_METHODS table, I am passing the USERSTATUS CHANGE (with the right object key - aufnr + vornr), and