InfoPath Form Web Part breaking page left alignment

I have tried both a wiki page and a web part page and met with the same results.  I am using the Oslo theme. I add two web parts (SharePoint List Filter and Listview App) and it works perfectly and the page looks normal.
When I add the InfoPath Form web part (I have tried different layouts and different zones) it causes the left alignment of the page to be way off.
See pics below.
Any suggestions?
Any help would be really appreciated!!

Hi,
We have reproduced this issue. The page left alignment is broken and the page is rightward after the InfoPath Form web part is added. It happens both on the wiki page and the web part page.
Thank you for bring this issue to our attention, your time and efforts on this matter are highly appreciate. It could be a potential issue in SharePoint 2013.
In our behalf, we will put your finding to our suggestion box and report it internally. If there is any update, we will keep you informed in this thread. 
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • Infopath Form Web Part not showing form

    Hello,
    I recently edited a list form in a InfoPath 2010 and published it to my site.  When clicking on "Add new item" it works fine.  The new form shows up and all is well.  The idea though was to enable the form from a separate page by using
    the InfoPath Form Web Part.  We have other forms setup this way on our site that work fine, but for some reason, when I added the web part to the page, pointed it at the list and set the custom content types (only single option anyways as the list is
    built on a custom content type) nothing is displayed within the web part.
    I can't find any difference between my form and the already created forms, but as I didn't create the ones that are working I may have missed some setting.  There is no error, no message, just a blank web part... Actually, that's not true.  When I
    check in the page I see nothing.  But when I publish it, I see only a close link and a bit of a header div. 
    If anyone would happen to have seen this before, know what it is or know how to fix it I would be greatly appreciative.
    Thank you.

    Hi David,
    From your description, you published an InfoPath form to SharePoint list, and it worked well in the list. However, when you added an InfoPath form web part to another page, it displayed as image.
    I could not reproduce the issue, I just selected list and content type, left all other settings as default, it displayed as expected. Did I miss anything during reproducing your issue? Did you make any customization to web part or InfoPath form?
    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

  • Create Calculator with the InfoPath Form Web Part

    Hi,
    I have gone through these steps
    https://msdn.microsoft.com/en-us/library/office/ee559624(v=office.14).aspx#sectionSection1
    on SharePoint 2013, and everything works except only one parameter will send data.  The last one set is the only one that will work.
    Any ideas?
    Thanks!

    Change your button not to use the Submit type but rather to use the Rules and Custom Code type, then add a rule that does a submit plus whatever other actions you're doing.  Add a Close action as well if you want, but you should also then be able
    to set the form web part to close on submit.  All of my forms are built like this, and I use them all in form web parts (I'm in love with them).
    Oh, another thing I do is when my user submits, I switch to a new view that looks nice and has a submit confirmation.  At the point, the form doesn't even need to be closed, but I do have a close button just in case.
    SharePoint Architect || Microsoft MVP ||
    My Blog

  • How to simply add custom property to a HTML Form Web Part?

    Hello.
    Is it possible to add a custom property (like a date-field) to a HTML Form Web Part with help of JavaScript? I do not want to use Visual Studio / Nappa etc. Is this possible in an easy way?
    Thanks for your help.

    Hi,
    Based on your description, my understanding is that you want to count the date between today and the latest event date.
    You can create a calendar in a page firstly, then add a content editor web part rather than the html form web part, as html form web part can't place the Jquery element.
    Then you can firstly read the date field value of the calendar list using JavaScript Client Object Model and then calculate the difference between two date values using Jquery. You can add the code directly in the content editor web part.
    Here are some detailed code demos for your reference:
    Get SharePoint calendar list field value using JavaScript Client Object Model:
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script>
    $(document).ready(function(){
    SP.SOD.executeFunc("sp.js", "SP.ClientContext", retrieveListItemsCal);
    function retrieveListItemsCal() {
    var clientContextCal = new SP.ClientContext.get_current();
    var oListCal = clientContextCal.get_web().get_lists().getByTitle('Calendar');
    var camlQueryCal = new SP.CamlQuery.createAllItemsQuery();
    AllItemsCal = oListCal.getItems(camlQueryCal);
    clientContextCal.load(AllItemsCal);
    clientContextCal.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceededCal), Function.createDelegate(this, this.onQueryFailedCal));
    function onQuerySucceededCal(sender, args) {
    var listItemInfo = '';
    var listItemEnumeratorCal = AllItemsCal.getEnumerator();
    var htmlCal = '';
    while(listItemEnumeratorCal.moveNext()) {
    var oListItemCal = listItemEnumeratorCal.get_current();
    htmlcal= oListItemCal.get_item("Start Time").format("MMMM d, yyyy"));
    break;
    function onQueryFailedCal(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    </script>
    Calculate the difference between two dates:
    http://stackoverflow.com/questions/2609513/jquery-calculate-day-difference-in-2-date-textboxes
    Thanks
    Best Regards
    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].
    Jerry Guo
    TechNet Community Support

  • Code in HTML Form Web Part

    Hello,
    I have no coding background whatsoever but I've recently found 2 pieces of coding that:
    1). changes the default calendar overlay colors to colors I have picked out
    2). collapsing Tasks with Subtasks by default
    Both actually worked great when I added the code to the HTML Form Web part but here is the problem:
    We use two different Project communication tools - SharePoint and PWA. 
    In PWA I only used the code to collapse the tasks with subtasks - worked like a charm.
    In SharePoint, I have the project calendar which has the code for color change (works great) and a task list that I would like it to show collapsed as default (did not work).
    Question: can I not have two "pieces" of code doing two different things on one page in SharePoint?  Am I just putting the code in wrong?
    Thanks for your help.

    Thanks for your response.  For whatever reason, I cannot post a screenshot.  Support could not provide a solution as well... in any case.  I basically added a web part in SharePoint: HTML Form Web Part, selected 'edit web part', clicked on
    'Source Editor' in the Form Content and inserted this code to change the calendar overlay colors:
    <style type="text/css">
    .ms-acal-color6{
     BACKGROUND-COLOR: #F77F00
    .ms-acal-selcolor6{
     BACKGROUND-COLOR: #F77F00
    .ms-acal-apanel-color6{
     BORDER-COLOR: #C3B7AC; BACKGROUND-COLOR: #F77F00;
    .ms-acal-color4{
     BACKGROUND-COLOR: #7FBA00
    .ms-acal-selcolor4{
     BACKGROUND-COLOR: #7FBA00
    .ms-acal-apanel-color4{
     BORDER-COLOR: #C3B7AC; BACKGROUND-COLOR: #7FBA00;
    .ms-acal-color7{
     BACKGROUND-COLOR: #3D8E33
    .ms-acal-selcolor7{
     BACKGROUND-COLOR: #3D8E33
    .ms-acal-apanel-color7{
     BORDER-COLOR: #C3B7AC; BACKGROUND-COLOR: #3D8E33;
    .ms-acal-color1{
     BACKGROUND-COLOR: #00A3DD
    .ms-acal-selcolor1{
     BACKGROUND-COLOR: #00A3DD
    .ms-acal-apanel-color1{
     BORDER-COLOR: #C3B7AC; BACKGROUND-COLOR: #00A3DD
    .ms-acal-color5{
     BACKGROUND-COLOR: #0072C6
    .ms-acal-selcolor1{
     BACKGROUND-COLOR: #0072C6
    .ms-acal-apanel-color1{
     BORDER-COLOR: #C3B7AC; BACKGROUND-COLOR: #0072C6
    </style>

  • Remove filter from Html Form Web part

    Hi,
    I've created a HTML form web part and connected it to a document library web part. It filters fine and as expected, but the only way I found to remove the filter is to reload the entire page. As I have several html form web parts on the page, filtering on
    different columns, that is a quite unsatisfactory method. Isn't there a value I can pass to the connected web part that just means "any". I've tried to send empty strings or '*' or even '[everyone]' (for the modified by column) but nothing works.
    Is there really no way?
    Thanks!

    Hi,
    For your issue, you can use the Text Filter Web Part. In the Text Filter Web Part, you can send empty strings to the connected web part which means "any":
    For more information, you can have a look at the blog:
    https://support.office.com/en-us/article/SharePoint-lists-VI-Exciting-ways-to-display-your-list-data-4f24f5a6-9a82-497e-8965-6b9f98e03a01
    Best Regards,
    Eric
    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 add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM.

    How to add SharePoint 2013 Promoted link list view web part in page programatically with Tiles view using CSOM. I found that it can be
    done by using XsltListViewWebPart class but how can I use this one by using shraepoint client api.
    shiv

    Nice, can you point me to the solution please ?
    I'm  trying to do this but I get an error : 
    Web Part Error: Cannot complete this action. Please try again. Correlation ID: blablabla
    StackTrace:    at Microsoft.SharePoint.SPViewCollection.EnsureViewSchema(Boolean fullBlownSchema, Boolean bNeedInitallViews)     at Microsoft.SharePoint.SPList.GetView(Guid viewGuid)   
    All help really appreciated.

  • Resize Content Editor Web Part to Page Width

    I have a content editor web part in page.   The CEWP contains a javascript based menu and an Iframe.
    The problem is that when I resize the page, the width of the CEWP does not size to the width of the browser.
    How can I get the CEWP to resize to the browser?John Bailo

    John, can you provide insight on the script you used for this? I'm trying to accomplish the same thing.

  • 2013 Custom Web Parts in Page Layouts not showing for users

    Custom Web Parts in Page Layouts not showing for users
    I have created a master page in the root site collection for a subsite I am developing. I created content types and custom page layouts for the pages within the subsite.
    I used the snippet tool in the design manager to create web parts and page field markup which I copied into the custom layout HTML pages in the root site collection. For instance I have an image viewer web part that I place there to serve as a section title.
    The problem is that I can see all these customer layout page parts no problem but my users cannot. This leads me to believe its permissions, I am site owner of both the subsite and root site collection.
    The users that cannot see the web parts are site members of the site and restricted read users on the root site collection (where the layouts are stored).
    What gives I'm finding it hard to understand why a snipet generated web part wouldn't show in all pages created from that layout page.
    Any help would be appreciated, Havent found anything on this issue online. weird.

    It is a permission issue indeed. Fix is simple, make sure you check out the page layout page, then check it back in as published version.
    John Architect

  • Web Part or Page being Cached

    I put a Business Data List web part on a Web Part Page in SharePoint 2010. The page is being cached. I keep getting old, same, and incorrect results all the time whenever I click the Retrieve button.
    How can I stop the Page from being cached? Thanks.
    Mayank

    Hi,
    According to your post, my understanding is that you wanted to stop the Web Part or Page from being cached.
    Per my knowleadge, the default implementation of the BDC service and the related Web Parts do not provide a caching mechanism for storing the retrieved information. The entity information is retrieved from the BDC and is stored
    directly into the ASP.NET cache. You can refer to:
    Caching in SharePoint
    I recommend to open the web.config file in SharePoint's web site and change to
    <WebPartCache Storage="None" />, then restart IIS (iisreset at a command prompt will do).
    More information:
    SharePoint and Web Part Caching
    Web Parts and Caching
    Thanks,
    Linda Li                
    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]
    Linda Li
    TechNet Community Support

  • Show all items in data form web part when no filter value

    I have connected a XSLT list view web part with a data form web part.
    The list view web part sends the connection parameter and the data form web part filters the corresponding content.
    I need the data form web part to show all the data in the list when the connection parameter is empty.
    Please let me know how i can implement this.

    Any ideas !!

  • Fresh install: Discussion Board item "alert me" errors Web Parts Maintenance Page

    This happens on a freshly installed Sharepoint 2013 Foundation standalone server.
    I create a standard Discussion board app and add a discussion post. I enter the post, and use the "alert me" option (under the post, not in the top ribbon). I hit ok on the alert settings and get the "sorry, something went wrong"
    page. Doesn't matter what user tries to use the "alert me" option, same error occurs. Doesn't matter if I create a new web application or site collection, Discussion board always does this. Just to note, even though there is an error, the alert is
    still created.
    An unexpected error has
    occurred.
    Web
    Parts Maintenance Page: If you have permission, you can use this page to
    temporarily close Web Parts or remove personal settings. For more information,
    contact your site administrator.
    Application error when access /Lists/tax discussion/Flat.aspx, Error=Value does not fall within the expected range.
    at Microsoft.SharePoint.SPContentTypeId..ctor(String id)   
    at Microsoft.SharePoint.SPViewContext.get_FolderContentTypeId()  
    at Microsoft.SharePoint.WebControls.ViewSelectorMenu.AddMenuItems()  
    at Microsoft.SharePoint.WebControls.ToolBarMenuButton.CreateChildControls()  
    at Microsoft.SharePoint.WebControls.ViewSelectorMenu.CreateChildControls()  
    at System.Web.UI.Control.EnsureChildControls()   
    at Microsoft.SharePoint.WebControls.TemplateBasedControl.OnLoad(EventArgs e)  
    at Microsoft.SharePoint.WebControls.ToolBarMenuButton.OnLoad(EventArgs e)  
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.AddedControl(Control control, Int32 index)  
    at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.CreateChildControls()  
    at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls()  
    at System.Web.UI.Control.EnsureChildControls()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.ArgumentException: Value does not fall within the expected range. 
    at Microsoft.SharePoint.SPContentTypeId..ctor(String id)   
    at Microsoft.SharePoint.SPViewContext.get_FolderContentTypeId()  
    at Microsoft.SharePoint.WebControls.ViewSelectorMenu.AddMenuItems()  
    at Microsoft.SharePoint.WebControls.ToolBarMenuButton.CreateChildControls()  
    at Microsoft.SharePoint.WebControls.ViewSelectorMenu.CreateChildControls()  
    at System.Web.UI.Control.EnsureChildControls()   
    at Microsoft.SharePoint.WebControls.TemplateBasedControl.OnLoad(EventArgs e)
    at Microsoft.SharePoint.WebControls.ToolBarMenuButton.OnLoad(EventArgs e)  
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.AddedControl(Control control, Int32 index)  
    at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.CreateChildControls()  
    at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls()
    at System.Web.UI.Control.EnsureChildControls()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Control.PreRenderRecursiveInternal()   
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    This issue is known by Microsoft but there is no ETA on a fix. My case for this issue was closed a few days ago on this problem.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Add and edit content editor web part to pages in bulk.

    Hello,
    I had recently posted a question 'Build pages in
    bulk' and thanks to
    Alex Brassington, I was able to do just that. Now, I want to take this PS script and XML file to the next level. Currently I am using page content to add simple text to each pages in bulk. Now, I'd like to add the Content Editor webpart and also add text
    in it in bulk. Is that possible? Below is the code for both the PS and the XML. The script is run as
    PS c:\scripts> .\New-Page.ps1 “c:\pages.xml”
    http://SharePoint.contoso.com/sites/TestSite
    New-Page.ps1
    [xml]$pagesXML = Get-Content $args[0]
    $siteUrl = $args[1]
    $web = Get-SPWeb $siteURL
    $pub = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web)
    $pagesXML.Pages.Page | ForEach-Object {
      $fileName = $_.FileName
      $title = $_.Title
      $articleType = $_.ArticleType   #Choice fields just need a string value
      $contact = Get-SPUser -Identity $_.Contact -web $web
      $reviewDate = [DateTime]::Now.AddDays($_.ReviewDate)
      $pagecontent = $_.PageContent
     #Below I replace a token in the XML to get the absolute url
     #else it will error with subwebs, even if using relative with or without /
      $pubPageLayout = $_.PubPageLayout -replace "{siteUrl}", $siteUrl
      Write-Host "Creating page $fileName"
      $newPage = $pub.AddPublishingPage()
      $newPage.ListItem["BaseName"] = $fileName
      $newPage.ListItem["Title"] = $title
      $newPage.ListItem["PublishingPageLayout"] = $pubPageLayout
      $newPage.Update() #Must update here so we can access our custom columns
      $newPage.ListItem["Contact"] = $contact
      $newPage.ListItem["Page Content"] = $pagecontent
      $newPage.Update()
      $newPage.CheckIn("")
      $newPage.ListItem.File.Publish("")
      Write-Host "Published"
    Write-Host "Completed!"
    # Dispose
    $web.Dispose()
    $site.Dispose()
    Pages.xml
    <?xml version="1.0" encoding="utf-8"?>
    <Pages>
     <Page>
     <FileName>Teampaintballcomp1</FileName>
     <Title>Team paintball comp1</Title>
    <PubPageLayout>http://sharepoint.contoso.com/sites/testsite/_catalogs/masterpage/CustomWikiPage.aspx</PubPageLayout>
     <Contact>AD-Ent\TestAccount</Contact>
        <PageContent>
        This is some text.
        This is another line of text.
        </PageContent>
     </Page>
     <Page>
     <FileName>Teampaintballcomp2</FileName>
     <Title>Team paintball comp2</Title>
    <PubPageLayout>http://sharepoint.contoso.com/sites/testsite/_catalogs/masterpage/CustomWikiPage.aspx</PubPageLayout>
     <Contact>AD-Ent\TestAccount</Contact>
        <PageContent>
        This is some text.
        This is another line of text.
        </PageContent>
     </Page>
     <Page>
     <FileName>Teampaintballcomp3</FileName>
     <Title>Team paintball comp3</Title>
    <PubPageLayout>http://sharepoint.contoso.com/sites/testsite/_catalogs/masterpage/CustomWikiPage.aspx</PubPageLayout>
     <Contact>AD-Ent\TestAccount</Contact>
        <PageContent>
        This is some text.
        This is another line of text.
        </PageContent>
     </Page>
     <Page>
     <FileName>Teampaintballcomp4</FileName>
     <Title>Team paintball comp4</Title>
    <PubPageLayout>http://sharepoint.contoso.com/sites/testsite/_catalogs/masterpage/CustomWikiPage.aspx</PubPageLayout>
     <Contact>AD-Ent\TestAccount</Contact>
        <PageContent>
        This is some text.
        This is another line of text.
        </PageContent>
     </Page>
    </Pages>

    If i just fill the .txt file that is linked to the CEWP the web part div scales fine, but adding a nested div or an image and it doesn't scale down.

  • Linking two lists to create a Data Source but cannot add web part to page in SharePoint designer

    All;
    I created a new data source by linking two lists which created a linked Data Source. I now want to access that linked data source via insertion of a Data Source control on a web part page.
    What I find is, both DATA SOURCE and DATA VIEW are inactive and unselectable.
    Is there any way to get this functionality going?
    Thx
    Larry Pexter

    Hi Larry,
    Since it is a coding UI, we need to put cursor into appropriate place so we can insert data view web part, i.e. the coding which represents the web part in to the whole coding part.
    As I tested in my envrionment, if you put cursor between <ZoneTemplate> and </ZoneTemplate>, I cannot get the DATA view, even before </ZoneTemplate>. Please put it exactly before <ZoneTemplate>.
    If you have modify the coding, please click save and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Programatically adding web parts to pages

    I am using a site provisioning event receiver and am trying to add the ProjectSummaryWebPart and the GettingStartedWebPart to the page. I am using the code below but when I go browse the page it looks like this. Has anyone had any experience with programmatically
    adding these web parts to a page using server side code?
    ProjectSummaryWebPart pswp = new ProjectSummaryWebPart
    Title = "Project Summary",
    ChromeType = PartChromeType.TitleOnly
    wpmgr.AddWebPart(pswp, "Header", 0);
    GettingStartedWebPart gswp = new GettingStartedWebPart {
    ChromeType = PartChromeType.TitleOnly,
    Title = "Get Started with your project site",
    wpmgr.AddWebPart(gswp, "Header", 1);

    Hi,
    I can reproduce this issue by adding the Project Summary Web Part into a page, when I change the PartChromeType to “BorderOnly”, the duplicated title will disappear.
    Anyway, when editing the page contains the Project Summary Web Part added programmatically, the ribbon will be blocked by an undefined error in projectsummary.js.  
    As the limited resource we have, I would suggest you open a ticket for this case:
    http://support.microsoft.com
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for