Creating custom scopes in SharePoint 2013

Guys,
Environment : SharePoint 2013
I want to provide the user with the ability to search from a custom search scope which has been deprecated in sharepoint 2013. How can i do this in 2013, also i would like to have
the custom scopes in a dropdown next to the search box so that the users can select from it.
off the quick reading that i did i have to create Result Source, query settings but if anyone can point me to an online link showing how to do it would be great.
Thanks
MM

The easiest way to do this is create a content type from your list.  Then in your query, target the content type only for results and add that to your search options.  That way when someone selects to search through that content type it will only
show results from that list of content that matches that type.
Let me know if that helps.

Similar Messages

  • Creating Custom WCF in sharePoint 2013

    Hello,
     I read the following article to create Custom wcf "http://www.robertseso.com/2013/05/adding-custom-wcf-services-to.html".
    I have followed the steps .
    when I open the .svc  from browser I got the following error :
               "sharepoint  provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found."
    How Can I solve it?
    ASk

    http://stackoverflow.com/questions/17591972/wcf-service-the-type-provided-as-the-service-attribute-values-could-not-be-foun
    Turns out the Eval.svc.cs needed its namespace changing to EvalServiceLibary, rather than EvalServiceSite.
    http://www.codeproject.com/Questions/611706/system-serviceModel-serviceHos
     found the solution, just change the endpoint address and added the baseAddress
    working fine
    here is my web.config file
    <configuration>
    <system.web>
    <customerrors mode="Off" />
    <compilation debug="true" targetframework="4.0">
    </compilation>
    </system.web>
    <system.servicemodel>
    <servicehostingenvironment aspnetcompatibilityenabled="True" multiplesitebindingsenabled="True">
    </servicehostingenvironment>
    <services>
    <service name="abc.MyService" behaviorconfiguration="MyWCF">
    <endpoint address="http://YourSiteName/MyService.svc" listenuri="/" binding="wsHttpBinding" contract="abc.IMService"></endpoint>
    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
    <host>
    <baseAddresses>
    <add baseaddress="http://YourSiteName/" /> </baseAddresses>
    </host>
    </service>
    </services>
    <behaviors>
    <servicebehaviors>
    <behavior name="MyWCF">
    <servicemetadata httpgetenabled="true" policyversion="Policy15" />
    <servicedebug includeexceptiondetailinfaults="true" />
    </behavior>
    </servicebehaviors>
    </behaviors>
    </system.servicemodel>
    <system.webserver>
    <modules runallmanagedmodulesforallrequests="true">
    </modules>
    </system.webserver>
    </configuration>
    http://social.msdn.microsoft.com/Forums/en-US/60a8ca68-c85d-4945-93dc-add4014a3474/servicehost-directive-or-provided-in-the-configuration-element?forum=wcf
    http://patrickyong.net/tags/wcf/
    If this helped you resolve your issue, please mark it Answered

  • How to configure service endpoints of custom webservice in SharePoint 2013?

    Hi,
    I have created a custom webservice in SharePoint 2013. I placed it in a sub folder under the ISAPI folder. I followed the instructions of this article: http://msdn.microsoft.com/en-us/library/office/ff521581(v=office.14).aspx. The webservice works
    great, however when I try to send a large file I get the message "413 Request entity is too large".
    After some searching I found out that you can create a web.config in the subfolder and define the endpoints and bindings, after which I get an error that there is already an endpoint defined for the specified URI. I believe this has something to do with
    the BasicHttpBindingServiceMetadataExchangeEndpointAttribute but I'm not sure.
    Can anyone help me solve this issue?
    Regards,
    Sander

    Hi,
    According to your post, my understanding is that you want to configure service endpoints of custom webservice in SharePoint 2013.
    Per my knowleadge, after you add a reference to Microsoft.SharePoint.Client.ServerRuntime, you can use the BasicHttpBindingServiceMetadataExchangeEndpointAttribute.
    In VS  go to the add reference and paste the following: C:\Windows\assembly\GAC_MSIL\Microsoft.SharePoint.Client.ServerRuntime.
    In addition, please make sure you create the custom web service correctly.
    For more information, you can refer to:
    SharePoint 2013: Create a Custom WCF REST Service Hosted in SharePoint and Deployed
    in a WSP
    How to create Custom Web Service WCF (REST) in SharePoint 2013
      Adding custom WCF services to a SharePoint 2013 farm solution using Visual Studio 2012
    "BasicHttpBindingServiceMetadataExchangeEndpointAttribute" could not be found
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Custom list in Sharepoint 2013 for training booking purpose

    Kindly note that I am trying to  do custom list in Sharepoint 2013 for training booking purpose
    As below :
    The user should enter the user name  - it works fine
    The user should select the data from the choice list
    The requirement is , I need to limit in each  day of the training 20 seats (20 booking only) only
     Can you advise how to do so.
    [email protected]
    Basil

    check below post and video on how to build the event receivers
    http://www.sharepointpals.com/post/How-to-create-a-custom-list-level-event-receiver-in-SharePoint-2013-and-SharePoint-2010
    https://www.youtube.com/watch?v=wZf2xvEM5Io
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Reading values from lookup columns through custom workflow in SharePoint 2013

    We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
    Thanks & regards,
    Aditya

    Hi,
    According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
    Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
    For more information, you can refer to:
    SharePoint 2013 Workflows and Lookup Columns
    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

  • How to create new scope for SharePoint calendar?

    How to create new scope for SharePoint calendar?
    I have a calendar list to which I want to create following scopes-
    Annual View
    Half Year 1 (Jan-June)
    Half Year 2 (Jul-Dec)
    Quarter 1 (Jan-Mar)
    Quarter 2 (Apr-Jun)
    Quarter 3 (Jul-Sep)
    Quarter 4 (Oct-Dec)
    How this can be created. Any help appriciated. Thanks.

    Hi Pratima,
    Can you please see below link and code snippet for how to
     format date in gridview.
    http://www.aspdotnet-suresh.com/2011/05/how-to-set-date-format-in-gridview.html
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title>Gridvew Date format</title>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <asp:GridView runat="server" ID="gvdetails" DataSourceID="dsdetails" AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false">
    <RowStyle BackColor="#EFF3FB" />
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <AlternatingRowStyle BackColor="White" />
    <Columns>
    <asp:BoundField DataField="Date1" HeaderText="Date1" HtmlEncode="false" DataFormatString="{0:s}" />
    <asp:BoundField DataField="Date2" HeaderText="Date2" HtmlEncode="false" DataFormatString="{0:D}" />
    <asp:BoundField DataField="Date3" HeaderText="Date3" HtmlEncode="false" DataFormatString="{0:m}" />
    <asp:BoundField DataField="Date4" HeaderText="Date4" HtmlEncode="false" DataFormatString="{0:d}" />
    <asp:BoundField DataField="Total" HeaderText="Total" HtmlEncode="false" DataFormatString="{0:C2}" />
    </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="dsdetails" runat="server" SelectCommand="select * from DateFormat" ConnectionString="<%$ConnectionStrings:dbconnection %>"></asp:SqlDataSource>
    </div>
    </form>
    </body>
    </html>
    Hope this will help you.
    Regards
    Soni K

  • How to create custom report in crm 2013

    Hi,
    I want to create custom report in crm 2013. I want to show Contact information in report. My scenario is that when I select multiple record and run report then contact information show in different pages. I want to show record in textbox in report. Here
    is an example of display record

    Hi Aamir,
    Have a look at below link it shows step by step how to create custom SSRS report.
    http://www.njevity.com/blog/creating-dynamics-crm-2011-reports-sql-reporting-services-pre-filtering-and-default-filters
    It tells using fetchxml, you can use SQL query as well. You need to use pre filtering to run report on selected record.
    Thanks,
    Prasad
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

  • Custom sendemail in sharepoint 2013 designer workflow using dictionary object with email template from list

    I  am looking for custom sendemail in sharepoint 2013 designer workflow using dictionary object with email template from list
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi Greetings.
    pls check if it helps you.
    http://msdn.microsoft.com/en-us/library/office/jj554504(v=office.15).aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How go generate Popularity Trends report for a custom list in SharePoint 2013

    Hi, 
    I want to generate  Popularity Trends report for a custom list in SharePoint 2013, is it possible?
    Thanks
    khadar pasha

    According to
    this link you should be able to access this option from the Items tab. for this to work, the Analytics Processing Component needs to be running.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to create recurring task in SharePoint 2013?

    Hello,
    Applies to: SharePoint 2013
    Requirement: Is there a way to create recurring task in SharePoint 2013?
    Regards
    Tanzim Akhtar
    Tanzim Akhtar

    this might have the answer and work around. I will try it.
    "What's changed in SharePoint Designer 2013"
    http://msdn.microsoft.com/en-us/library/jj728659.aspx
    Here is some of the explanation:
    Description of the change. Some features of the SharePoint 2010 Workflow platform that are dependent on Windows Workflow Foundation 3.0 are deprecated in SharePoint 2013.
    Reason for the change.SharePoint 2013 introduces a new SharePoint 2013 Workflow platform that is built upon Windows Workflow Foundation 4.0 and that is integrated with Workflow Manager 1.0.
    Migration path. In SharePoint Designer 2013, you can still create a SharePoint 2010 Workflow and use all of the SharePoint 2010 Workflow features by choosing the SharePoint 2010 Workflow platform.
    You can also integrate features from the SharePoint 2010 Workflow platform into the new SharePoint 2013 Workflow platform. To do this, create a SharePoint 2010 Workflow by choosing the SharePoint 2010 Workflow platform; create a SharePoint 2013 Workflow by
    choosing the SharePoint 2013 Workflow platform; and then use the Start a list workflow and Start a site workflow actions in the SharePoint 2013 Workflow to call the SharePoint 2010 Workflow.

  • What is the difference between SSAS & Data Mart? Is SSAS required to create BI Dashboard in SharePoint 2013?

    Hello All,
    Greetings for the day.!
    What is the main feature wise difference between SQL Server Analysis Service & Data Mart? Can we create BI Dashboard in SharePoint 2013 without creating SSAS & Measures?
    Thanks,
    msdn.microsoft.com

    Hi jdoshi65, 
    This is a very long-to-answer question :) 
    A Data Mart is a subset of a Data Warehouse, specifically designed for a department for example, or to support certain reports. The Data Warehouse is where ALL the data available for analysis in your company is, is a super set from the Data Mart.
    Then, we have SQL Server Analysis Services, which is a service which ships with SQL Server. It builds, ON TOP of the Data Warehouse or the Data Mart (or both) an OLAP solution in order to improve and enrich the reports, analytics and insights coming from
    the data in the Data Warehouse / Data Mart. 
    That's the big picture, but: 
    - Is it necessary to have a Data Warehouse or a Data Mart to use SQL Server Analysis Services? NO
    - Is it necessary to have SQL Server Analysis services to query and create reports from a Data Warehouse / Data Mart? NO
    So, answering your question, there is no difference between SQL Service Analysis Services and a Data Mart because they are different things.
    Then, yes, you can create a BI Dashboard in SharePoint 2013 without a SSAS cube behind. You can just use SQL Server Reporting Services or Performance Point Services to build dashboards in SharePoint 2013.
    Regards.

  • Error creating new Site in Sharepoint 2013 SP1

    Hello, I am having an issue creating a new Site. The Environment is SharePoint 2013 SP1 Running on Server 2012 R2 DataCenter. This is a fresh install currently running on 2 Servers (App/Web, SQL Server). I successfully install SharePoint and then the Service
    pack, then run configuration to setup the Farm. I successfully am able to setup a Web Application and Create a site collection. When I attempt to navigate to that site collection site on port 80 I get the "Sorry, Something went wrong"
    Below is the ULS associated with the Correlation ID I was given in ULS Viewer.
    05/15/2014 14:49:29.57  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://oirwinspvwa08:80/)). Parent No 
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://oirwinspvwa08:80/) b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Micro Trace                    uls4 Medium   Micro Trace Tags: 0 nasq b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://oirwinspvwa08:80/)). Execution Time=5.82092137408525 b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://oirwinspvwa08:80/)). Parent No 
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://oirwinspvwa08:80/) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Claims Authentication          ad5sw Unexpected Failed to create instance of cookie value handler type 'Microsoft.SharePoint.IdentityModel.SPSessionSecurityTokenCookieValue'. b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Claims Authentication          ad5su Unexpected Token Cache: Could not get cookie value handler. b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Authentication Authorization   agb9s Medium   Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8nca Medium   Application error when access /, Error=Exception of type 'System.ArgumentException'
    was thrown.  Parameter name: encodedValue   at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea) ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8nca Medium   ...    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Runtime                        tkau Unexpected System.ArgumentException: Exception of type 'System.ArgumentException' was thrown. 
    Parameter name: encodedValue    at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea)     at Syste... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Runtime                        tkau Unexpected ...m.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ajlz0 High     Getting Error Message for Exception System.ArgumentException: Exception
    of type 'System.ArgumentException' was thrown.  Parameter name: encodedValue     at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Objec... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ajlz0 High     ...t oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aat87 Monitorable   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.GetPageListId: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPContext.get_ListId()     at Microsoft.SharePoint.SPContext.get_List()     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page
    page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion,
    String ctag)     at Micros... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...oft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control
    ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String
    strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Boolean localizable, Boolean defer, Boolean loadAfterUI, String language,
    Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer,
    Boolean loadAfterUI, String language, String uiVersion, String ctag)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Co... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ntrol.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath,
    String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoint.Utiliti... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...es.SPUtility.TransferToErrorPage(String message, String linkText, String
    linkUrl)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object
    oSender, EventArgs ea)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(Int... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Ptr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData,
    Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntP... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...tr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration()     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page
    page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion,
    String ctag)     ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion,
    Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String
    strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, Stri... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ng name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String
    language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean
    defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath,
    String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoin... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...t.Utilities.SPUtility.TransferToErrorPage(String message, String linkText,
    String linkUrl)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object
    oSender, EventArgs ea)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationH... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...elper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr
    moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestCont... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Database                       ahjqp High     [Forced due to logging gap, cached @ 05/15/2014 14:49:29.69, Original
    Level: Verbose] SQL connection time: 16.3469798535847 for Data Source=OIRWINSPVWD09;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][SharePoint_Config] b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter
    writer)     at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.P... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...rocessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler
    handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter
    writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
    at System.Ev... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...entHandler.Invoke(Object sender, EventArgs e)     at
    System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
    cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, Requ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...estNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter
    writer)     at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.P... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...rocessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler
    handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter
    writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
    at System.Ev... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...entHandler.Invoke(Object sender, EventArgs e)     at
    System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
    cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, Requ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...estNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Micro Trace                    uls4 Medium   Micro Trace Tags: 0 nasq,8 ad5sw,0 ad5su,3 agb9s,9 8nca,0 tkau,0 ajlz0,41 aat87,0 aix9j,1 ai1wu,0
    aix9j,0 ai1wu,79 aix9j,0 ai1wu,0 aix9j,0 ai1wu b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://oirwinspvwa08:80/)). Execution Time=155.111054617277 b839919c-2677-40cf-8b9a-bacf488ec831
    I am sure above tells me exactly what is wrong, but I can't decipher it, so I can forward the info to the correct team to fix (we are a very departmentalized organization). I have already completely deleted both servers in the farm and recreated from scratch
    and I get the same error, even tried a 3rd time to remove SP and download the latest patches again.
    Can anyone help?
    Kevin

    did you
    configure the object cache on the web app?
    also do you have user profile services configured, if yes then web App's app pool should have permission on UPA.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Add attachment button to a custom new form SharePoint 2013

    I'm creating a new custom form using SharePoint Designer 2013.
    I would like to add a attachment button to be able to upload files and images. How can this be done?
    See code below
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir="ltr">
    <input type="file" name="fileupload0" id="onetidIOFile" size="56" title="Name"></input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type="button" value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" id="attachOKbutton" />
    <span id="idSpace"></span>
    </td>
    </tr>
    <tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
    <SharePoint:FieldLabel ControlMode="New" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
    <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
    <script>
    var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
    if (elm == null || elm.rows.length == 0)
    document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
    </td>
    </tr>
    Im getting error :
    Uncaught TypeError: Cannot read property 'value' of undefined
    form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    OkAttachform.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    onclick
    Somewhere around this line:
    k=document.getElementsByName("RectGifUrl")[0];e.innerHTML='<span class="ms-delAttachments"><IMG SRC=\''+k.value+"'>&nbsp;<a href='javascript:RemoveLocal
    Thanks in Advance

    Create a custom list form or go to your NewForm.aspx using SharePoint Designer. Place the below code where you would like to insert the Attachment Field
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir=”ltr”>
    <input type=”file” name=”fileupload0″ id=”onetidIOFile” size=”56″ title=”Name”> </input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type=”button” value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" />
    <span id="idSpace"></span>
    </td>
    </tr>
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • Possible to fill a list using a custom Workflow in Sharepoint 2013

    Is it possible to develop a custom workflow that compares a Contact List and the Active Directory and add any missing people to the list? Or is this a functionality not available with workflows and sharepoint 2013?

    Instead of workflow you can do this,
    Have user profile service application set up ,which will run on daily basis by default(you can configure to run Hourly/Minutely also) to import all users along with user attributes(email, department ..etc) to SharePoint. Configuring  UPS :
    http://blog.anuragg.com/2012/12/configure-user-profile-service.html
    Create an item added event receiver on your "Contacts" list ,build business logic to fetch the corresponding  user details from the above synced user profile properties. Retrieving User profile properties :
    http://msdn.microsoft.com/en-us/library/office/jj163182(v=office.15).aspx
    Please remember to click Mark as Answer on the answer if it helps you

  • Facing error while creating PerformancePoint Dashboard in SharePoint 2013?

    Hi All,
    I am not able to create Performance Point Dashboard site in SharePoint 2013, while creating facing this error:
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however,
    be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application.
    This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
    How to fix this issue?
    Thanks in advance

    Hi Sam,
    Please modify your web.config file to show error details in SharePoint as below:
    Set customErrors mode to Off
    Set SafeMode CallStack to true
    Set compilation debug to true
    For more information:
    http://www.keremozen.com/2012/04/08/how-to-show-error-details-in-sharepoint/
    http://www.ashokraja.me/post/Display-Stack-Trace-in-Sharepoint-2010.aspx
    After modification, check the detail error message.
    Regards,
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Pdf files in FILE Adapter

    Hi All, I just wanted to know whether we can process pdf files through FILE adapter in XI. If yes, Kindly let me know the procedure. Thanks in advance, Sudhasree.

  • Error about mapping with sqlexec when delete data

    I've created a sample replication process There's no problem when i'm inserting data (lookup process is working well too) but when i'm deleting data from source table it cannot delete record in target table and this is the error ERROR OGG-01296 Oracl

  • External Keynote display too dark

    Hello I have several presentations made with Keynote on my main computer, an iMac 19". Once converted to movies I was able to use them successfully on a Toshiba portable and on an MSI Wind. Last week I purchased a white Macbook with a 2.13 Core Duo p

  • Nokia Maps 3.01 - missing 'My position' option

    Hi everyone, like mentioned in the subject, these is a missing 'My position' option in the "options' menu, so I don't know how to show current position on map? Thanks -s- Solved! Go to Solution.

  • Timed digital IO in PXI-6602

    Dear All,         I have PXI-6602 timer card. In which i have 8 timer IO and 32 Digital IO. In my application i need timer tick or counter on which i have to change my 32 digital IO state.         I mean to say that if timer tick is 100, i have to ma