Skip to content

SharePoint

SharePoint discussions

This category can be followed from the open social web via the handle sharepoint@forum.codeproject.com

981 Topics 2.3k Posts
  • Calling javascript for a SharePoint webpart?

    question javascript sharepoint tools
    9
    0 Votes
    9 Posts
    0 Views
    S
    got it working. Sorry for being a pain in the butt.
  • Add , Edit, and display list in one page

    sharepoint
    5
    0 Votes
    5 Posts
    0 Views
    C
    Good point. Chris
  • 0 Votes
    4 Posts
    0 Views
    N
    Remember you are entering a SharePoint env. that does not deal in sql server unless you have BCS, so your ASP.Net site won't be able to authenticate or anything. Plus the ASP.Net site is not communicating with it's parent site for FBA anyway because it doesn't speak the SharePoint API. You are dropping in dead pages in SharePoint. You could fake it with another machine in your LAN that you setup in AD as a subdomain. That would be your only alternative. This submachine could be virtual under lighter traffic if the parent hardware has the resources.
  • 0 Votes
    2 Posts
    0 Views
    N
    03/21/2012 10:32:02.56 w3wp.exe (0x1BF8) 0x1AA4 Windows SharePoint Services Workflow Infrastructure 936l High Engine RunWorkflow: System.Workflow.Activities.EventDeliveryFailedException: Event "OnWorkflowItemChanged" on interface type "Microsoft.SharePoint.Workflow.ISharePointService" for instance id "41c930d8-9629-47ef-99fb-5d74ce57ff7c" cannot be delivered. ---> System.ArgumentNullException: Buffer cannot be null. Parameter name: buffer at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable) at Microsoft.SharePoint.Workflow.SPWinOePersistenceService.LoadWorkflowInstanceState(Guid instanceId) at System.Workflow.Runtime.WorkflowRuntime.InitializeExecutor(Guid instanceId, CreationContext context, WorkflowExecutor executor, WorkflowInstance workflowInstance) at System.Workflow.Runtime.WorkflowRuntime.Load(Guid key, CreationContext context, WorkflowInstance workflowInstance)... 03/21/2012 10:32:02.56* w3wp.exe (0x1BF8) 0x1AA4 Windows SharePoint Services Workflow Infrastructure 936l High ... at System.Workflow.Runtime.WorkflowRuntime.GetWorkflow(Guid instanceId) at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs) --- End of inner exception stack trace --- at System.Workflow.Activities.WorkflowMessageEventHandler.EventHandler(Object sender, ExternalDataEventArgs eventArgs) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.RaiseEvent(SPWinOeWorkflow workflow, SPWorkflowEvent workflowEvent, Object workItem, IPendingWork workHandler) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.Send(SPWinOeWorkflow winoeworkflow, SPWorkflowEvent e) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, Ti... 03/21/2012 10:32:02.56* w3wp.exe (0x1BF8) 0x1AA4 Windows SharePoint Services Workflow Infrastructure 936l High ...meSpan timeOut) ++++++++++++++++++++++++++++++++++++++++++++++++ Looks like you are attempting to send the same workflow from two different events. I can definately see in the first bold segment that an update notification fired the workflow that was complete with GUID. Second attempt to fire workflow had some of the arguments needed but could not get the GUID and crashed. Third looks like a simple timeout where the data missing was handled cleanly and the workflow engine just timed out w/o a crash. Check carefully what all is trying to call the same workflow because there is a definate tug of war here.
  • 0 Votes
    2 Posts
    2 Views
    N
    It depends on which kind of web part you are deploying. There are 3: OOB out of the box, regular, and Silverlight. OOB need no deploy but do need to be setup. Silverlight are easiest because you upload your XAML to a library, load the silverlight web part in the region, then point it at the XAML URL. Regular web parts can be deployed as a solution, feature. Feature will allow you to have a layer of control in feature settings to activate it or deactivate. http://msdn.microsoft.com/en-us/library/cc768621.aspx[^]
  • 0 Votes
    2 Posts
    0 Views
    N
    It depends on which kind of web part you are deploying. There are 3: OOB out of the box, regular, and Silverlight. OOB need no deploy but do need to be setup. Silverlight are easiest because you upload your XAML to a library, load the silverlight web part in the region, then point it at the XAML URL. Regular web parts can be deployed as a solution, feature. Feature will allow you to have a layer of control in feature settings to activate it or deactivate. http://msdn.microsoft.com/en-us/library/cc768621.aspx[^] ;) Thanks, Dev Jim
  • How to stream

    sharepoint help tutorial
    3
    0 Votes
    3 Posts
    0 Views
    N
    First of all, your best bet is Silverlight video streaming -even though you can host Flash videos in SharePoint-. If you have SharePoint Server -not foundation- then there should be a web part for hosting Silverlight objects, which you can use to play the videos. Moreover the video itself shouldn't necessarily be hosted in a SharePoint list- though it can-. If you have access to the underlying IIS you can use the new IIS smooth streaming feature[^], or even host your video anywhere and on any service -including YouTube-. If you have a large number of videos or concerned about performance issues you can even host your file on another server and play it through your SharePoint site. Check this article[^] out. Regards:rose: --- How to edit any .NET program without having the source code Visit my blog Follow me on twitter
  • 0 Votes
    2 Posts
    0 Views
    N
    Create a custom contenttype, derived from Announcement, with the added site columns you need and associate it to an Announcements list. This should help with the forms: Custom SharePoint List Forms[^]. Although it is for 2010 it can be applied to 2007 also. Of course this should all be deployed via a WSP. Failure is not an option; it's the default selection.
  • 0 Votes
    2 Posts
    0 Views
    N
    What version of SharePoint, 2007 or 2010? Both already have WebServices available http://msdn.microsoft.com/en-us/library/ms479390(v=office.12).aspx[^] 2010 also has the Client Object Model, SharePoint 2010 Client Object Model, Part 1[^] Failure is not an option; it's the default selection.
  • log in portal

    sharepoint question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • sharepoint(crawling of data)

    sharepoint
    3
    0 Votes
    3 Posts
    0 Views
    _
    Check if all the file types included in your crawl The list of File Types determines what files to include in the index. If the extension is not listed here the file will not be crawled. So click the link and add JPG, GIF and PNG. Thanks, Dhaval Shah http://kalashnikovtechnoblogs.blogspot.com
  • Caml Query Help

    help sharepoint database
    2
    0 Votes
    2 Posts
    0 Views
    S
    To build further on this. The problem I am having is with the following: <IsNull> <FieldRef Name='AnotherID'></FieldRef> </IsNull>
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Sitecollection location in server

    windows-admin sharepoint com sysadmin question
    2
    0 Votes
    2 Posts
    0 Views
    N
    nainakarri wrote: created wildcard sitecollection with url sites/xyz No, what you have created was a managed path with Wildcard inclusion and have created a SiteCollection on that managed path. It helps to use the correct terminology when describing a problem. Just by creating a managed path does nothing to route requests through IIS. If you have designated a different port for this web application then you need to use host headers and configure IIS to redirect requests for this URL to that port. If you are using SiteCollection host headers then it will not work with managed paths. http://social.msdn.microsoft.com/Forums/en-US/sharepointserverknowledgenetwork/thread/e0bb0351-0770-44e3-aca6-4825b2c712f8/[^] Failure is not an option; it's the default selection.
  • DVWP Wrap Column Headings

    css com xml help tutorial
    4
    0 Votes
    4 Posts
    0 Views
    N
    If you "very limited knowledge about code" then you have no business attempting this. Go learn about XSLT and HTML first. Seriously, nothing I could say would make sense to you until you have a basic level of knowledge. Failure is not an option; it's the default selection.
  • Sharepoint license details

    sharepoint
    6
    0 Votes
    6 Posts
    0 Views
    N
    You are again not correct. The SQL Server Native Client will be installed for you in the case of a single server deployment, there is no choice or other action necessary by the user. In a single server deployment SQL Server Express will be installed. In this case I believe you are confusing SQL Server Manager with the SQL Server Native Client. The latter only provides the assembly necessary for ODBC, OLE DB and ADO.NET access to a SQL Server instance, it is not the database engine. The former will provide a UI for management of the SQL Server instances, it is not necessary in order to create tables. That can be done using command line tools or API. In a typical enterprise deployment SQL Server MUST be present and licensed separately from SharePoint. A single server deployment is NOT recommended for an enterprise and is typically only used for development systems. Failure is not an option; it's the default selection.
  • Data Veiw Web Part Shows Wrong Group Count - SharePoint 2010

    help sharepoint
    2
    0 Votes
    2 Posts
    0 Views
    S
    As I mentioned above I have come across a group count error. I have created a data view web part using a linked source. The DVWP has only one level of grouping: Date. My Group Totals are incorrect (with the exception of the last group on the bottom). And my Webpart total count is also correct. I know very little about the code. But I have played with it to make some sense of it. I would appreciate if you can propose a solution. I can't display a picture but my Data Veiw Web Part presently breaks down is something like this: Date: 1/15/2012 Entry 1 Entry 2 Group Count: 0 (Wrong Count) Date: 1/31/2012 Entry 1 Group Count: 0 (Wrong Count) Date: 2/15/2012 Entry 1 Entry 2 Group Count: 2 (Right Count) Total Count: 5 (Right Count) What is frustrating is that all the group counts are based on the same formula then why are the first group counts wrong when the last one generates the correct value. My Group footer code is: <xsl:template name="dvt_1.groupfooter0"> <xsl:param name="fieldtitle" /> <xsl:param name="fieldname" /> <xsl:param name="fieldvalue" /> <xsl:param name="fieldtype" /> <xsl:param name="nodeset" /> <xsl:param name="groupid" /> <xsl:param name="displaystyle" /> <xsl:param name="showfooter" /> <xsl:param name="showfootercolumn" /> <xsl:if test="$showfootercolumn" ddwrt:cf_ignore="1"> <t r valign="top" style="display:none"> <xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"> <t h class="ms-vh" width="1%" nowrap="nowrap"></t h> </xsl:if> <t d>ms-altering" nowrap="nowrap"> Count :<xsl:value-of select="count($nodeset)" /></t d> And the code for my DVWP Footer which displays the total number of items in the web part is (the count for this part is correct): <xsl:value-of select="Count**(/dsQueryResponse/soap:Envelope/soap:Body/ddw1:GetListItemsReponse/ddw1:GetListItemsResutl/ddw1:listitems/rs:data/z:row)**" />
  • 0 Votes
    3 Posts
    0 Views
    L
    Thank you! That gets my juices flowing for some different options for me to try! I may respond more at a later time, I won't be working on this until next week as I am traveling in the short period. But I did want to respond to you. Thanks again.