Nice article to build Custom People Picker.
http://sharepointsolutions.com/sharepoint-help/blog/2009/10/create-a-custom-picker-in-sharepoint-2010/
This blog is a repository of my experiences and knowledge in SharePoint Development and Management.
Tuesday, April 24, 2012
Tuesday, March 20, 2012
Error Compiling SharePoint Workflow in Dev Server.
If any one of have problem compiling the SharePoint 2010 Workflow (Sequential and State Machine) in you Dev Server. And if the Error is this
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/74975cb4-20f9-4a3f-bb41-74382eecc5bb/#dd666781-46fb-4bb2-b8e8-cf49a4ebfa4b
Even for the empty workflow its giving this error.
Error 1
The "CompileWorkflowTask" task failed unexpectedly.
System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at System.Workflow.ComponentModel.Compiler.CompileWorkflowTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) stateWorkflow1
System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
at System.CodeDom.Compiler.TempFileCollection.AddExtension(String fileExtension, Boolean keepFile)
at System.Workflow.ComponentModel.Compiler.CompileWorkflowTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) stateWorkflow1
Check this Thread in MSDN Forum.
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/74975cb4-20f9-4a3f-bb41-74382eecc5bb/#dd666781-46fb-4bb2-b8e8-cf49a4ebfa4b
Thursday, November 10, 2011
Wednesday, September 21, 2011
Look up columns problem with List Templates.
When we try to recreate the lists with look up columns from one site to another site, we lose the look up connection.
For example if have two sites
A and B
A has list called A1 which has a look up column referring List AL1
If you want to take a copy of list A1 and recreate it in site B as B1 with look up referring to BL1.
Follow these steps
- Save List A1 as template (.stp).
- Go to site collection settings.
- open the list template gallery.
- Save the A1's template in your computer.
- Go to the .stp file saved in you computer.
- change its extension to .cab
- open the ziped file and extract the files in it to a folder.
- Open the manifest.xml file in notepad (or any other text editor).
- search for the GUID of list AL1 and replace it with GUID or BL1.
- save the manifest.xml file
- open command prompt and type the command "makecab manifest.xml template1.stp".
- It creates the template1.stp file.
- Upload template1.stp to the site collection of B site.
- create the list B1 using template1.stp.
- If you have multiple look up fields repeat the step 1 to 14 for all those fields.
If this is post is helpful, please leave a comment. Thanks.
Thursday, June 23, 2011
Adding Code-Behind to Custom Pages in SharePoint 2007
Labels:
adding,
behind,
code,
custom,
pages,
sharepoint 2007,
sharepoint help
Wednesday, May 18, 2011
Thursday, May 5, 2011
JQuery Script to Move View Selecting Menu to left side.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript">
$("td.ms-toolbar:last").insertBefore($("td.ms-toolbar[width='99%']"));
</script>
<script type="text/javascript">
$("td.ms-toolbar:last").insertBefore($("td.ms-toolbar[width='99%']"));
</script>
Monday, May 2, 2011
Nice Article about Association Columns.
Here is the link to MSDN Blog Post regarding Association Columns in SPD.
http://blogs.msdn.com/b/sharepointdesigner/archive/2011/05/02/association-columns.aspx?utm_source=twitterfeed&utm_medium=twitter
http://blogs.msdn.com/b/sharepointdesigner/archive/2011/05/02/association-columns.aspx?utm_source=twitterfeed&utm_medium=twitter
Friday, April 29, 2011
Copying and Moving SharePoint Designer (2007) Workflows....
Hi,
This is a common challenge for every one who works on SharePoint Designer Workflows.
In the working environment, after developing a workflow on a list using SharePoint Designer. There is no Out-of the -Box option to assign that workflow to other List in same server or in other server.
Here is the a simple work around for that
NOTE:- You should have the same column names in both lists. Atleast you should have the columns that you used in rules or actions of the workflow. However, the workflow can be moved eventhough if you dont have the common columns. But the problem is after moving the workflow, the columns that are not present in new list will be listed as blank in workflow. Don't worry you will understand after starting working on it.
Here are the steps.
1) open the WorkFlows folder in SharePoint Designer
2) Expand the workflow that you want to move
3) open <your workflow name> .xoml.wfconfig.xml file.
4) In the Association tag replace the listid with your new list id *.
5) save and close that file.
6) open you workflow xoml file and click finish.
Thats it you are done.
* In order to find the List ID of your New List open the list setting. In url you can find the list id.
( Replace %7B with {, %7D with }, %2D with -).
Post Comments if you have any trouble doing this.
Please leave a comment if this post is helpful to you.
This is a common challenge for every one who works on SharePoint Designer Workflows.
In the working environment, after developing a workflow on a list using SharePoint Designer. There is no Out-of the -Box option to assign that workflow to other List in same server or in other server.
Here is the a simple work around for that
NOTE:- You should have the same column names in both lists. Atleast you should have the columns that you used in rules or actions of the workflow. However, the workflow can be moved eventhough if you dont have the common columns. But the problem is after moving the workflow, the columns that are not present in new list will be listed as blank in workflow. Don't worry you will understand after starting working on it.
Here are the steps.
1) open the WorkFlows folder in SharePoint Designer
2) Expand the workflow that you want to move
3) open <your workflow name> .xoml.wfconfig.xml file.
4) In the Association tag replace the listid with your new list id *.
5) save and close that file.
6) open you workflow xoml file and click finish.
Thats it you are done.
* In order to find the List ID of your New List open the list setting. In url you can find the list id.
( Replace %7B with {, %7D with }, %2D with -).
Post Comments if you have any trouble doing this.
Please leave a comment if this post is helpful to you.
Labels:
copy,
move,
Sharepoint,
sharepoint designer,
Workflow,
xoml
Thursday, April 21, 2011
No Incoming Email feature in Office 365
Hi,
Two days back i got access to my Office 365 SharePoint site. It is so amazing. I am really excited with this new cloud computing feature. I started using it for my new business.
However it has a drawback. That is, lack of a feature which i expected to have. That is Incoming Email for Lists and Libraries.
Two days back i got access to my Office 365 SharePoint site. It is so amazing. I am really excited with this new cloud computing feature. I started using it for my new business.
However it has a drawback. That is, lack of a feature which i expected to have. That is Incoming Email for Lists and Libraries.
Subscribe to:
Posts (Atom)