Categories

Archives

How to configure SharePoint List for Visio Diagram data source

English:

Some of you may be not aware that we can use SharePoint List for Visio Diagram data source. So how can we configure SharePoint List for Visio Diagram data source?

Following steps demonstrate how to do it using SharePoint 2010 and Visio 2010, however it also applies to SharePoint 2007 or Visio 2007.

Step-by-step

Open Visio (.vsd) file. On Data tab, and  Link Data to Shapes.

On  Data Selector window, choose Microsoft SharePoint Foundation list.

Type SharePoint website URL

Note: Enter username and password combination if necessary.

Choose SharePoint list that you want to use, then click Next and Finish. You [read more...]

SharePoint 2010 : Enhanced CAML Intellisense in VS2010

English

Either you’re SharePoint geeks or newbie, intellisense is always helpfull to provide inline guidance. Previously we need to configure Visual Studio environment manually to get very basic information about CAML schema.

After all, we always need better and better tools for the job. Thanks to John F. Holliday , that provides free Visual Studio 2010 add-ins for more sophisticated CAML intellisense – the CAML.Net.Intellisense. You can download the bits in Visual Studio Gallery ( Gallery > Tools > caml.net.intellisense). Nice job John.

Related Posts:How to configure SharePoint List for Visio Diagram data sourceSharePoint 2010 : The deployment … is not compatible with a Package in Sandboxed Solution

SharePoint 2010 : The deployment … is not compatible with a Package in Sandboxed Solution

English

One of new feature in SharePoint 2010 is Sandboxed Solution. The ideas is to create solution and deploying them in a way that you can trust will not damage or change SharePoint farm. (http://msdn.microsoft.com/en-us/magazine/ee335711.aspx)

Sandboxed Solution is aimed for isolation between one solution to another; which implies that you can not include anything inside the hive folder. If you try to include TemplateFile, Layouts or Images in package, VS2010 will raise an error stating “The deployment type …… is not compatible with a Package in a Sandboxed Solution”.  And it means you have to think about the solution architecture again and refine the rules.

For example, you may consider custom [read more...]

VS 2010 : Cannot start service SPUserCodeV4

English

Today, for the first time after installing the latest version of 2010 families, I encounter this error “Cannot start service SPUserCodeV4”. This error message comes when I tried to deploy – sandboxed solution.

 

Try to Google what would be the issue, I’ve found some blog here:

http://littletalk.wordpress.com/2010/05/05/cannot-start-service-spusercodev4-when-deploy-sharepoint-webpart-in-vs-2010/

http://blog.dennus.net/2009/11/18/sp2010-spusercodev4-your-new-web-part-project-isnt-deploying/

 

However, in my case it is not “Microsoft SharePoint Foundation User Code Service”. It is “Microsoft SharePoint Foundation Sandboxed Code Service” instead.

After starting the “Central Administration” > “Services” > “Microsoft SharePoint Foundation Sandboxed Code Service” everything goes to normal.

Now, I can deploy my solution from Visual Studio 2010.

[read more...]