SharePoint 2013 - Missing Publishing Page Ribbon/Tab on custom page layout - Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,.... VS CodeBehind="BlogDemo.aspx.cs" Inherits="DemoProject.Branding.BlogDemo"

I created page layouts using Visual Studio 2013 and SharePoint 2013. I added both ASP.NET web controls (e.g. asp:Label, asp:HyperLink) and SharePoint web controls (e.g. SharePointWebControls:UrlField) in a page layout.
However, when I deployed the solution, I cannot edit all the ASP.NET & SharePoint web controls (column fields from custom content type used for the page layout) except the web part zones.
Then I found out about inherits property:
1) if I use the code for the page layout as shown below:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BlogDemo.aspx.cs"
Inherits="DemoProject.Branding.BlogDemo" MasterPageFile="/_catalogs/masterpage/DemoProject/DemoMasterPage.master"
%>
Result: There is no publishing ribbon/tab. E.g. Edit, Publish..... although both ASP.NET & SharePoint web controls can be displayed on the page layout.
Screenshot:
2) if I use the code instead as shown below:
<%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
meta:progid="SharePoint.WebPartPage.Document" %>
Result: Publishing ribbon/tab is available, but ASP.NET web controls won't appear. Only SharePoint web controls appear on the page layout.
Screenshot:
I wonder how I can combine both codes to ensure that the page layout can have publishing ribbon/tab and displays both ASP.NET & SharePoint web controls.

Found a way to solve the issue
I follow the solution:
http://pinnacleofindiana.com/blog/developers/2012/03/28/creating-a-sharepoint-2010-page-layout-with-code-behind/
http://blogs.msdn.com/b/kaevans/archive/2011/04/02/code-behind-page-layouts-with-visual-studio-2010.aspx

Similar Messages

  • SharePoint 2013 On-Premises - Search not crawling Korean content, but all other languages

    We are facing an issue in a SharePoint 2013 site where I have lots of PPT files with different languages and also managed metadata tags tagged with them.
    We are facing issue with Korean content PPT files where We are not able to search these files by their managed properties. Somehow SharePoint search is not able to crawl these Korean content PPT files with managed properties.
    if we remove content from these files and do a crawl and search the file with managed property we get the result but if I put a small paragraph of Korean language and do the crawl it doesn't appear in search results with same query after the crawl.
    Following are the server and site configuration details we are using:
    Windows Server 2012 standard with SharePoint 2013 Enterprise Server installation
    All our tags and managed properties are in English language only.
    We are using SharePoint search API where I am passing query to SharePoint to fetch the result for example below is the query we are sending:
       Ex.
    ( parentlink:"site URL*”)AND ( owstaxIdLanguage:"Korean"))
    Following is the search result with different scenarios
    Content   in PPT file
    Search   using
    Result
    English
    File name in search box
    Worked
    English
    Using managed property
    Worked
    Korean
    File name in search box
    Sometimes works
    Korean
    Using managed property
    No result
    Following are the list of scenarios we tried to fix the Korean content issue:
    Did a full crawl on all libraries multiple times
    Did a full crawl on individual libraries
    Changed library level settings to allow items to appear in search result, followed  by a full crawl on individual library
    Tried changing font for Korean content to generic font (Arial Unicode MS) per suggested by our PPT expert and crawled the content.
    Installed Korean language pack on CM2 server and did a full crawl after uploading Korean content PPTs on UAT site

    http://social.technet.microsoft.com/Forums/exchange/en-US/ec9febf7-8d69-42e9-b2dc-b6e5b0b46a89/sharepoint-2013-search-crawl-not-working-properly-with-korean-content?forum=sharepointsearch
    Enabled "Always index all Web Parts on this site" in site settings > site visibility
    Do we see some error in crawl logs in search
    Is it a variation site? If yes, was the managed property data manually updated or it was done by system
    What if you create a new list\column and check if crawl works on that column
    If this helped you resolve your issue, please mark it Answered

  • SharePoint 2013 and IE 11 issue - While creating a Web Part Page and Editing Web Part Properties

    I tried to edit a Web Part in SharePoint 2013 using IE 11 but I did not see the Edit Eeb Part dropdown menu at the top-right corner of the web part. Then I tried to create a Web Part page and I get the following error.
    Cannot create a Web Part Page with the current browser. Browsers that support the creation of Web Part Pages include Microsoft Internet Explorer 7.0 or later, Mozilla Firefox 3.0 or later, and Apple Safari 3.0 or later
    Strange !!! My web browser is IE 11.
    I tried the above two tasks in Google Chrome and worked fine.
    Solution:
    I added the site url to local intranet zone in IE 11 and I am now able to add Web Part Page and Edit Web Part in IE 11.
    imd.net

    Hi - One more solution is to add SharePoint site to compatibility group:
    http://blog.fpweb.net/sharepoint-internet-explorer-compatibility-issues-with-video/#.VAaZSPmSyy4
    -prs

  • Sharepoint 2013: Problem / Error when creating Variation Hierarchy for French and German Languages from Variation root EN

    Hi,
    I have a website with English and Arabic Language Packs installed. I have the corresponding Variation heirachies created and the whole site collection is published.
    Recently the client asked for french and german languages to be accomodated as well. So I followed the same approach I did for English and arabic (installed the language packs) for foundation, ran ocnfiguration wizard, installed server language pack &
    ran configuration wizard.
    But after creating the variation label, when i try to create the variation heirarchy, I am getting the following error.
    "Unknown failure when creating a variation of page http://server:port/en/pages/default.aspx in label /fr/Pages/default.aspx.
    The Variations Create Hierarchies job failed with the following error message&  Unknown failure when creating a variation of site
    http://server:port/en in label fr."
    Am not sure what is going wrong. Appreciate a feedback.
    Thanks,
    SSP
    SSP

    Hi,
    According to your description, my understanding is that the error occurred when you created the Variation Hierarchy for French and German Languages from Variation root EN.
    I recommend to check the Resources folder located at C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15 to see if the file core.fr-FR.resx exists in the folder.
    Here is a similar thread for you to take a look:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/611575b2-d129-44c6-814b-2e5782178850/unknow-failure-when-creating-variations-in-sharepoint-2013-is-this-a-bug-in-sharepoint-2013-rtm?forum=sharepointadmin
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • SharePoint 2013 RSS Viewer not loading when other Custom web part using Update Panel or Ajax Timer control

    Hi,
    SharePoint 2013 RSS
    Viewer web part failing to complete loading when the page loads.
    This happens when having RSS Viewer and then adding a Custom webpart with an updatepanel and timer control.
    I  had used Ajax update panel and timer control to load the web part asynchronously after the main page is fully loaded.
    The RSS-Viewer web part hangs in loading state while the custom webpart loads just fine.
    The issue occurs when an like button click or Timer Tick event fires after the page
    is loaded.
    Haven't been able to track the issue.
    Couple of workaround I tried to call a server side button click event from the custom web part after the page gets fully loaded using JQuery shown below did not work out either.
     $(document).ready(function () {
                $('#<%= netButton2.ClientID %>').click();
    And 
    document.onreadystatechange = function () {
                if (document.readyState == "complete") {
                    $('#<%= netButton2.ClientID %>').click();
    Please let me know how to resolve this issue.
    Thanks,
    Franklin

    Hi Johan,
    The assignment of this user on the given task might be corrupted. Try to remove the resource from the task, publish the project, assign the resource again and publish again the project. If it is not working, try to unpublish the task (column "publish")
    and publih it again.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • SharePoint 2013 witing code to work with a custom list

    I am asking this question since I am new to working with SharePoint 2013, but I have programming experience working with C#.net and VB.NET.
    I have a workflow 2013 that is accessed by a custom list (and updated by Infopath 2013). Once a user has submitted the custom list to the workflow 2013, there will be the 'proper' authorized person in the company that will approve or reject the request.
    Once the user has submitted the request, I do not want them to be able to update the list any more. I want the user to only have 'view' access.
    In workflow 2010, I see that there is the impersonate step that would change the permisisons for me. However I would prefer not to use an older version of the workflow.
    Thus can you show me and/or point me to links that will do the following:
    1. What .net code could I  use that will change the permissions on the custom list I mentioned above. The code can be in either C#.net or VB.net?
    2. If I am able to use the .net code, would you show me how to 'wire together' the .net code with the 2013 workflow? I do know that I would use Visual Studio.net 2012 to write the code. Would you explain, draw a picture, and/or point me to a url that will explain
    to me where to place the .net code so it is connected to the workflow 2013?

    I am going have a large volume of users (about 300 to 500) from my company creating these requests. So you are saying that I should create a subfolder of each request.
    Thus I have the following additional questions:
    1. If I move the requests to subfolders, how will the users be able to able to find their requests when placed into a different subfolder? I have views setup for the users, would I adjust the view for each user? Can you show me in workflow how to move
    the requests to another subfolder?
    2. It sounds like a need a subfolder for each request is that correct? If not, do I move all requests to one subfolder?
    3. Would you show me how you recommend that I change the permissions on the subfolder(s)?

  • Sharepoint 2013 (On-Premises): New Access Apps are corrupted after installation of language pack

    Hi,
    1) I installed the english version of SharePoint2013 Server.
    2) I created a new Access App (after configuration of SharePoint Apps Environment), so it worked well.
    3) I installed the german language pack for SharePoint2013 Server.
    4) I created a second Access App ... and here the Problem has started:
    4a) ... when I start the second Access App this view appears (you can see the broken icon for "Settings" in the upper left corner):
    4b) ... when I customize the second Access App then all styles within Access 2013 are broken:
    4c) ... but when I start (or customize) the first Access Web then everything works fine.
    I've been logged in as Administrator all the time.
    Has anybody a solution for this issue?
    Thanks in advance and greetings
    Harald

    this is the log (there is a 60.000 character restriction in this Forum) while clicking the Access App - it seems to be a rights issue (?):
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x0294 Access Services              
     Administration                 ajl60 Medium   Application Information: Database Name: db_2d0dd48c_cc90_4902_be70_b9cc769281a3 Url:
    http://app-67358ac930f208.hazidomainapps.virtual/TestEN AppID: c6e64584-7c09-42d5-b6aa-d103c858392e AppPrincipalIdentifier i:0i.t|ms.sp.int|[email protected]7f423d55 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x0294 Access Services              
     Web Front End                  agpaz Medium   ServerSession.ExecuteWebMethodCore: sending request of type GetFormDefinitionAndRecordSet, to server=http://W2012VS1SP:32843/db7a80c4982e4b809fe16cc2005599ef/AccessService.svc,
    session=1.V23.500WCEWGH984duY5FLkh+3v90.5.en-US5.en-GB73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.00000000-0000-0000-0000-0000000000001.U, state id=-1, health score=2.781292E-36, error delta=9.270973E-36 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x0294 Access Services              
     Data Layer                     ab9bg Medium   MossHost.GetEndpointAddress: Server endpoint Uri:
    http://w2012vs1sp:32843/db7a80c4982e4b809fe16cc2005599ef/AccessService.svc. 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x0294 SharePoint Foundation        
     Topology                       e5mc Medium   WcfSendRequest: RemoteAddress: 'http://w2012vs1sp:32843/db7a80c4982e4b809fe16cc2005599ef/AccessService.svc'
    Channel: 'Microsoft.Office.Access.Services.WebService.IAccessServiceSoap' Action: 'http://schemas.microsoft.com/office/Access/2010/11/Server/WebServices/AccessServerInternalService/IAccessServiceSoap/GetFormDefinitionAndRecordSet' MessageId: 'urn:uuid:aed5b68a-b3a5-4a23-af39-3073f3ac2aba' 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x13D4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ 4f9c8d9c-6390-50d5-0699-1b02464dbd58
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     App Auth                       ajnjd Medium   Set the resolved app principal name to i:0i.t|ms.sp.int|[email protected]7f423d55.
    Its original value is C930F208 4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     Authentication Authorization   ag69m Medium   TenantScopedPerm=0, AllowAppOnlyPolicy=False, AppId=i:0i.t|ms.sp.int|[email protected]7f423d55. 4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x13D4 SharePoint Foundation        
     App Auth                       ajnjd Medium   Set the resolved app principal name to i:0i.t|ms.sp.int|[email protected]7f423d55.
    Its original value is C930F208 4f9c8d9c-6390-50d5-0699-1b02464dbd58
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=i:0).w|s-1-5-21-772570815-111247685-1008338994-500,
    AppPrincipalName=C930F208 ,bstrUrl=http://app-67358ac930f208.hazidomainapps.virtual/_themes/0/accessservicesthemed-EC584CF0.themedcss?ctag=0 4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.14  w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Zugriff verweigert (Ausnahme von HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    bei Microsoft.SharePoint.SPWeb.InitWeb()     bei Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     bei Microsoft.SharePoint.Utilities.SPUtility.Redirect(String
    url, SPRedirectFlags flags, HttpContext context, String queryString)     bei Microsoft.SharePoint.Utilities.SPUtility.RedirectToAccessDeniedPage(HttpContext context)     bei Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(HttpContext
    context)     bei Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreSendRequestHeaders(Object oSender, EventArgs ea)     bei Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.EndRequestHandler(Object oSender,
    EventArgs ea)     bei System.Web.HttpAp... 4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.14* w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     General                        ai1wu Medium   ...plication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     bei System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     bei System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
    context, AsyncCallback cb)     bei System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     bei System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     bei System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int... 4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.14* w3wp.exe (0x1544)                        0x1E40 SharePoint Foundation        
     General                        ai1wu Medium   ...32 flags)     bei System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     bei System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     bei System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     bei System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32
    flags)   4f9c8d9c-6390-50d5-0699-19a29726fed6
    05/04/2014 16:16:47.15  w3wp.exe (0x1DD4)                        0x29F0 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (ExecuteWcfServerOperation). Parent No 
    05/04/2014 16:16:47.15  w3wp.exe (0x1DD4)                        0x29F0 SharePoint Foundation        
     Topology                       e5mb Medium   WcfReceiveRequest: LocalAddress: 'http://w2012vs1sp.hazidomain.virtual:32843/db7a80c4982e4b809fe16cc2005599ef/AccessService.svc'
    Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/office/Access/2010/11/Server/WebServices/AccessServerInternalService/IAccessServiceSoap/GetFormDefinitionAndRecordSet' MessageId: 'urn:uuid:aed5b68a-b3a5-4a23-af39-3073f3ac2aba' 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.15  w3wp.exe (0x1DD4)                        0x29F0 Access Services              
     Data Layer                     aefgi Medium   AccessServiceSoap.ExecuteDataServerOperation: Beginning operation for user cookie ID '00000015-9c6b-645b-35b4-aa369ab2aa55'. 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.15  w3wp.exe (0x1DD4)                        0x29F0 SharePoint Server            
     Logging Correlation Data       xmnv Medium   AccSrv SessionID=1.V23.500WCEWGH984duY5FLkh+3v90.5.en-US5.en-GB73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.00000000-0000-0000-0000-0000000000001.U 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.15  w3wp.exe (0x1DD4)                        0x29F0 SharePoint Server            
     Logging Correlation Data       xmnv Medium   AccSrv WebMethod=GetFormDefinitionAndRecordSet 4f9c8d9c-9389-50d5-0699-1226418b70c9
    05/04/2014 16:16:47.15  w3wp.exe (0x1DD4)                        0x29F0 Access Services              
     Data Layer                     dp4w Medium   AccessServiceSoap.ExecuteDataServerOperation: GetFormDefinitionAndRecordSet: Begin. 4f9c8d9c-9389-50d5-0699-1226418b70c9
    Harald Zimmerer

  • Creating SharePoint Custom List using a list using a Microsoft.SharePoint.Client.ClientContext object: Lists.Add method from existing Template does not Include Template Content (include content was checked for template)

    The code below works assuming you have a list template setup called "GenTasksTemplate".
    The problem is that even though the check box to include content was checked during the creation of the template, the task items in the new list do not get populated.  What am I missing?
    using System;
    using System.Linq;
    using Microsoft.SharePoint.Client;
    protected void createSPlist(object sender, EventArgs e)
    ClientContext context = new ClientContext("https://sharepointServer/sites/devcollection/");
    var web = context.Web;
    ListTemplateCollection ltc = context.Site.GetCustomListTemplates(context.Web);
    ListCollection siteListsColection = web.Lists;
    context.Load(ltc);
    context.ExecuteQuery();
    ListCreationInformation listCreationInfo = new ListCreationInformation
    Title = "New Task from Template",
    Description = "Tasks created from custom template"
    Microsoft.SharePoint.Client.ListTemplate listTemplate = ltc.First(listTemp => listTemp.Name == "GenTasksTemplate");
    listCreationInfo.TemplateFeatureId = listTemplate.FeatureId;
    listCreationInfo.TemplateType = listTemplate.ListTemplateTypeKind;
    listCreationInfo.DocumentTemplateType = listTemplate.ListTemplateTypeKind;
    //listCreationInfo.CustomSchemaXml =
    siteListsColection.Add(listCreationInfo);
    context.Load(siteListsColection);
    context.ExecuteQuery();
    http://www.net4geeks.com Who said I was a geek?

    Yes. I can create a list with the template using the UI.  I can also create list programmatically using the Microsoft.SharePoint library within a Windows Forms Application.  If I do create a provider-hosted app referencing Microsoft.SharePoint,
    it results in a 64bit / 32bit mismatch error.  I am running SharePoint 2013 on a 64 bit Windows 2012 Server.
    The problem is that with a provider-hosted SharePoint App, I am limited to only using the Microsoft.SharePoint.Client library which is very limited.
    http://www.net4geeks.com Who said I was a geek?

  • Sharepoint 2013 Discussion Board Web Part, Subject line link on Home Page does not link to the list view

    I am by no means a SharePoint developer, but I really wanted to customize the discussion board for my site - so I found this link: http://www.codeproject.com/Articles/733164/How-to-create-HelpDesk-on-SharePoint-Online
    I added the columns, like the article said, and then completed the section "Modification of the discussion board views".  I skipped the workflow stuff because while I think it would be useful I wanted to make sure I could get
    the actual customization of the discussion board to work first. 
    My Problem (Just to preface - I followed the above instructions, including disabling the Minimal Download Strategy):
    When I clicked into my discussion board list, I was able to get it to look and function as described for both the subject and flat views. However, when I click on the Subject, from the Discussion Board Web Part on my Home Page, it does not redirect into the
    Discussion Board List Flat View.  Instead, it tries to open the root folder from the Home Page while still using the subject view.  The outcome being an empty discussion board on the Home Page.
    So I decided to create a whole new discussion board to see if that one would work, when I inserted a new Discussion Board Web Part into the Home Page, newly created from the app menu, it used the same custom JS file(plumTickets), even though I never linked
    the discussion board to the JS file. Of course when I went into the newly created Discussion Board list it opened as it does OOTB.
    I am so close it having this work like I have been envisioning.  I just need users to be able to click on a discussion subject from the Home Page and be redirected to the list view of the parent folder (I think that is the correct terminology,
    but it may not be) so they would be able to see any replies and be able to reply.  Please Help Me!!!
    I truly appreciate any help you are able to provide, thank you!

    I figured it out. I was using ?FilterField1=fieldname&FilterValue1=value on the URL to the page to pick out one project number. The web part I was trying to add was for a list that did not have that particular fieldname. I didn't realize that would matter
    since I was using the Connections -> Get Filter Values From to get my filter values from the main web part, which does have that fieldname.
    I added a field with that fieldname to the other list and set a workflow to copy the lookup value of the project number lookup field into the new field. Now all is working fine.  Sorry for the wild geese in my original question.

  • Clicking on a link to open a new page or tab gives me a blank page.

    If I click on a link to open a new page or a new tab, the page that opens is always blank and no address is in the address bar. Also, occasionally, my refresh button is "grayed" out so I can't hit that either. I think this is some sort of security setting blocking it. Can anyone help.

    Thanks Jason, I had the same problem and did exactly the steps above. Problem solved! You rock! :)

  • SharePoint 2013 - Word Automation Services - Conversion fails ErrorCode 10 - Domain Controller on same (development) server as SharePoint

    I have code attached below, running inside SharePoint (in a page), used to convert .docx document to .pdf using Word Automation Services.
    SPFile inputWordFile = ##CODE THAT RETRIEVE THE SPFile ##
    using (Stream inputWordStream = inputWordFile.OpenBinaryStream())
       using (MemoryStream outputPdfStream = new MemoryStream())
    SyncConverter sc = new SyncConverter(wordAutomationServiceName);
    sc.UserToken = web.CurrentUser.UserToken;
    sc.Settings.UpdateFields = true;
    sc.Settings.OutputFormat = SaveFormat.PDF;
    ConversionItemInfo info = sc.Convert(inputWordStream, outputPdfStream);
    if (info.Succeeded)
    What happens is that the conversion fails. errorCode is 10.
    What I came to, is that this is related to the Domain Controller being installed on the same machine.
    I have examinated and excluded all several other possible issues (memory resources, etc.).
    What I had undestood as far, is that the problem is that "the
    converter is executed in the context of a very unprivileged local account, and there are no local accounts on DCs"
    Is this a KNOWN ISSUE?
    Is there a workaround for development enviroment having DC+SQL+VisualStudio+SharePoint on the same machine?

    Hi,
    It is recommended to try the code demo in this documentation below in a Console Application to see if it can work in your environment:
    http://msdn.microsoft.com/en-us/library/office/ff181518(v=office.14).aspx
    If it still can’t work, you can restart the Word Automation Services in SharePoint Central Administration in case it is a service issue.
    Feel free to reply with the test result if the issue still exists.
    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

  • On tab pages, where tabs are children of home page ... how2insert rows?

    We show the key on the parent tab ... we navigate to child tabs, and proper child rows are all there.
    We click insert and it seems to allow entry. We click Submit, we get error that the parent key field is blank, so can't do insert.
    So ... how to make that parent key persist on each child tab?
    The tabs know the key is there, because they successfully show the children, and only the children. And when you click on a different parent on the row listing of the main home page, then go to child, only that new row's children show up (my intern did the links, I can't speak for precisely how he did this, but we're talking meat and potatoes, not wizardry).
    Any records entered on a child tab should be a child of the clicked home parent, and no other record (one must start with parent before going to child) ...
    Is there a way to get the parent key to persist?
    (child tabs typically have two columns making up the primary key, the parent key (as a foreign key) and something unique to that tab ... e.g., line number, or xref code, or id_link ... these tables / keys all work just fine at the SQLplus level and via Oracle Forms, so data model per se is fine.)
    Any / all clues / info / links to docs will be met with much gratitude.
    Suzanne

    Suzanne:
    It would make it easier for your problem to be understood/resolved if you could create a example of the issue you are encountering at the OTN APEX site.
    Given the information you have provided, and assuming that the 'DML' for child records is handled by the standard APEX Automatic DML processing page process, I'd suggest you take a look at the definition of this process and determine how the PK for the child record is obtained.
    Varad

  • SharePoint 2013 Labeling deprectaed

    Hello,
    we are using Label in "Information management policy settings" for libraries to show the document version inside office documents  with "{Version}".
    This feature seems to be deprecated in SharePoint 2013: https://support.office.com/en-US/Article/Discontinued-features-and-modified-functionality-in-Microsoft-SharePoint-2013-bbbb0815-2538-4f1d-b647-1f7f6d508c93?ui=en-US&rs=en-US&ad=US
    Is there another supported way to show the document version from the list inside of an office document?
    Thanks, Rainer

    Hi,
    According to your post, my understanding is that you want to use
    the “Label” in “Information management policy settings” for Document to show the document version inside the office documents with “{Version}”.
    In my environment, I do this test and the result is that the version in the document library can be shown inside the word document.
    I recommend that you can follow the steps as below to configure both the document library and your word document.
    To configure the Document Library in SharePoint 2013:
      1.  Go to the document library, click on the “Library Settings”, click on the “Versioning settings” and make sure that you have checked the “Create major versions” or “Create major and minor (draft) versions”.
      2.  Go back to the “Library Settings”, click on the “Information management policy settings”, click on the “Document” content type, check the “Enable Labels” box, but don't check either of the other two boxes in that section.
      3.  Type {Version} into the “Label format” box, click on the “Refresh” button to see a preview of your version label like {_UIVersionString}, and click on the “OK” button.
    To configure your Word Document:
      1.  Either create a new document or upload one in the document library, open the document and edit it,
    put the cursor wherever you want the version label to appear.
      2.  Go to the “Insert” tab, click on the “Explore Quick Parts” button in the “Text” section, find the “Document Property” and select the “Label”.
      3.  The version label will show up with the corresponding number in the word document, save the changes of the word document.  
    Then, you can close the word document and reopen it. The updated version will automatically appear where you put the version label.
    The result is shown as below:
    For more information, you can refer to:
    http://stackoverflow.com/questions/508229/how-can-i-include-value-of-sharepoints-version-column-in-a-word-document
    http://spandps.com/2012/04/23/sharepoint-and-document-versioning-within-word/
    Thanks,
    Yumi Fu
    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].

  • SharePoint 2013 dev environment as standalone with DC - PowerShell in Azure?

    Hi,
    I am looking for a PowerShell script that create based on a Visual Studio 2013 Azure image a dev environment in azure. I need a Standalone server with DC / SQL / SharePoint 2013 on one server.
    Provide Microsoft a script for this requirement?
    Regards,

    First off, Microsoft does not support SharePoint 2013 on a Domain Controller. Here are some scripting resources, however:
    http://msdn.microsoft.com/en-us/library/windowsazure/dn385843.aspx
    https://github.com/WindowsAzure/azure-sdk-tools-samples/wiki/Automated-Deployment-of-SharePoint-2013-with-Windows-Azure-PowerShell
    http://blogs.msdn.com/b/windowsazure/archive/2013/05/24/automating-sharepoint-deployments-in-windows-azure-using-powershell.aspx
    http://blog.appliedis.com/2013/04/29/automating-sharepoint-2013-installation-on-windows-azure-iaas/
    http://absolute-sharepoint.com/2013/10/create-a-scripted-sharepoint-2013-development-environment-tutorial-part-1.html
    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.

  • "an error occurred with data fetch. Please refresh the page and retry" when open sharepoint 2013 setting cog on IE

    My SharePoint 2013 has issue opening the top left cog: On amy page, every time when I was trying to click the setting cog and my name, an alert box will pop out
    (System does not allow me to insert images, so screenshot is here:)
    http://www.sfu.ca/~siyuanz/2.PNG
    And also, under some subsite, my ribbon is gray off (and I am sure this is not a permission issue)
    Screenshot: http://www.sfu.ca/~siyuanz/1.PNG
    I tried to fix them by change the "Compatibility View Settings" but it doesn't help
    These issues only happen to my IE (chrome, fire fox work well)

    Hi,
    According to your post, my understanding is that you had issue opening the top left cog.
    I suggest you to check whether you restrict the site in your browser. Please follow the steps:
    Open the site in the browner, click tool->Compatibility View Setting->Add the site to be displayed in Compatibility View.
    Click Tool->Internet Options->Security->Trusted Sites.
    Click Tool->Internet Options->Security->Restricted sites->Allowed level for this zone: Medium.
    Click Tool->Internet Options->Security-> Custom Level -> Cookies->OK.
    Click Tool->Internet Options-> Settings -> Privacy -> Block content on sites from services that could track my browsing ->Off.
    More information:
    http://www.timeanddate.com/custom/cookiesie.html
    http://biztalkxin.blogspot.com/2013/07/sharepoint-2013-and-ie-10-work-together.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for