sharepoint

How to create folders base on external datasource in SharePoint 2010?

My goal is to extend functionality of the current asset tracking system. Basically I would like to pull list of Clients and related assets from external system into sharepoint 2010. Then I would like to associate documents with each asset. My first intention is to create a list of folders where each folder would be named respectively....

SharePoint workflow SendEmail - check if the mail was successfully sent

I have created a sequential workflow for use with a SharePoint List. In this workflow i send an email using the SendEmail activity. Later in my workflow I need to know if the mail was successfully sent, so I tried using this condition: success = sendEmailStep1.ExecutionResult == ActivityExecutionResult.Succeeded; But that does not ...

SharePoint WebPart Install Error

I have created a WebPart. When I add the WebPart to a page I get the error below. If I delete what is in my constructor for my WebPart it will then add to the page. Then if I deploy my code with the WebPart all ready on a page the WebPart will display correctly. I can't add it to other pages I get the error before. So I presume that ...

Build Web Parts on Visual Studio 2008 for SharePoint 2010

What do I need to install for building a Web Part for SharePoint 2010 on Visual Studio 2008? BTW: I'm using Windows 7 64-bit and Office 32-bit ...

'currentCtx' is undefined

While trying to create/upload a document in a document library, Ie throws the below exception 'currentCtx' is undefined what it means and how to fix this? ...

SharePoint Workflow: how to update the item without triggering the workflow again

I have a SharePoint workflow which is running whenever the item changes. The workflow communicates with an external REST service. If the service returns a string, I want to update one of the field values with that string. Unfortunately, this update will trigger another instance of the workflow for this item once the current workflow term...

What are the methods for production deployment in SharePoint?

Why does Microsoft suggest using WSPs for production deployment in SharePoint? What are the other methods for production deployment? ...

Deploying site pages in SharePoint

Hi, I have around 9 web parts and 3 pages to be deployed. Each page will be having 3 webparts. From a deploymnet perspective, i think i have the following two options: Deploy the pages using a feature. The pages will have webparts present. Create a custom site definition with a document library and have the three pages as part of the...

Recommendations on SharePoint site permission model

Hi All, I have a SharePoint site which contains a root site and site collection in it. Now there are some sites that inherits permissions from their parent site and some site has their own permission module. Now a user from owner group of root site browses site collection but there are few site which doesn't allow user to view the conte...

Is there built-in method to tell if specific URL belongs to this SPWeb or other SPWeb?

Hello. I have a list of urls (content type usage url's). Now, content types are deployed across web's. I need to loop those content types and do some actions in each list, but opening new SPWeb instance every loop is too resource intensive. Is there built-in method to tell me if this URL belongs to certain SPWeb object? Example: SPWe...

Sharepoint multi level quick launch

How can I create a multi-level quick launch in sharepoint? Thanks. ...

Sharepoint UserGroup.asmx GetGroupCollectionFromUser(..) returns empty collection

Hey I try to get all the user groups that the current user is a member of, I am using the UserGroup.asmx GetGroupCollectionFromUser method. However this method returns an empty collection even if the user belongs to some groups. I checked the user group settings that allows all the group members to see the membership to this group. ...

webservice CopyIntoItems is not working to upload file to sharepoint

The following piece of C# is always failing with 1 Unknown Object reference not set to an instance of an object Anybody some idea what i am missing? try { //Copy WebService Settings String strUserName = "abc"; String strPassword = "abc"; String strDomai...

What permissions does an approver need to edit and approve a document?

If an Approval workflow assigns a task to approve a document to a user, that user receives an email which prompts them to: review the document, and modify if necessary edit the task to show as approved Does being assigned the approval task automatically elevate the user's permission levels in order to allow them to carry these action...

Webpart missing webpart catalog entry when build with vsewss but deployed with stadm

Hello, I have the exact problem of not getting any webcatalog entry for a webpart if i deploy via stsadm. The project of this webpart is generated with vsewss and build with it. The very webpart entry can be accessed if its deployed through vsewss' "deploy" command. But i have to make the deploy process with stsadm because of an automa...

Must have tool set for MOSS 2007 development.

I'm trying to compile a list of Must have tools/extensions for developing MOSS 2007 to build a dev machine. The dev os is Window 2008 R2 64 bit. MOSS 2007 Visual Studio 2008 Sharepoint Designer WSS/Office Server SDK Visual Studio 2008 Extensions for WSS 3.0 Is there any additional required/nice to have tools? ...

SharePoint ServerContext vs. SPContext

In what scenarios should you use ServerContext over SPContext (and vice versa)? What advantages/disadvantages/limitations are presented? I can't seem to find a good deal of information on this. ...

Movable SPCompositControl

Is it possible to make a movable SPCompositeControl. I have made a popup dialogbox, but I want it to be movable. ...

Render custom form / alter existing rendering template at runtime.

How do I create reusable custom new item form + preferrably, i don't want to tie this form to content type? I want to force render one hidden field (it could be render on the page, but make invisible or render on the page and display) and set field value programmatically (that's why it has to be rendered - to set it's value). Google has...

Sharepoint custom field type

I have created a custom field type which inherits directly from SPField but when I try to add the field to a list I get the following error: One or more field types are not installed properly. Go to the list settings page to delete these fields. at Microsoft.SharePoint.Library.SPRequestInternalClass.AddField(String bstrUrl, String bs...