I have very good experience in SharePoint and .NET technologies but I have started blogging from last some time. (around 2 year)
I promise that you will get updated information into my blog into regular interval of time.
Please feel free to enter any comments related to articles and me
Nobody is perfect and I am Sanket!!
You can also find my sample SharePoint Web Part from here
i have similar issue with “Unable to connect to database. Check database connection information and make sure the database server is running”. can you elaborate a little bit detail in yr workaround?
I have replied into post, can you please look into same and let me know if you still have problem.
Very Nice blog. Really, you have so many nice articles on various things. Keep the good work up.
I saw you post on some dude’s blog:
Hey Manish,
I must say that your post is very good and useful, because you have given very good description of each and every attribute. Nice work.
I have one problem into CustomAction tag, if I use location as “Microsoft.SharePoint.StandardMenu” and GroupID as “NewMenu” then it didn’t work for me, I mean, I can’t see my custom link into “NEW” menu, if I didn’t use for specific list and remove RegistrationType and RegistrationID then it’s working fine and I can see new custom item into all lists, but I would like to display new custom menu into “NEW” item for specific list.
Do you have any idea what I need to change or where I am missing? I just changed below lines as per your example of “MY DOCLIB NEW CUSTOM ACTION BUTTON”
e.g.
CustomAction
Id = “CustNewLink”
RegistrationType=”ContentType” RegistrationId=”0x0101006F0588113A5C1F439B176C99A35B41C5″
Title = “Custom Create Title”
Sequence=”2000″
Description = “description goes here.”
GroupId = “NewMenu”
Location = “Microsoft.SharePoint.StandardMenu”
Above code didn’t work. Please help.
Thanks in advance,
Sanket Shah
Did you solve this issue and how did you do it. Experiencing the same thing.
Thank you.
Hey Nick,
I didn’t get solution for my problem to add custom link into “NEW” menu, but I have found out alternative solution to achieve my requirement and its working fine for me.
Here is link which you can refer; basically it will tell us how to change page URL of default edit, new and display form.
http://blog.qumsieh.ca/2009/05/15/how-to-change-the-default-editform-newform-and-dispform/
May be it will help you.
Thanks,
Sanket
Hey Sanket, Nice to see your blogs. Good way to go!!!
I am new to sharepoint. I have a list , I need to create a subsite for each and every item in the list using code.I need to create subsites for already existing items in the list and also I need a subsite for a new item added to the list.It is really very very urgent can you Help me out sanketh?
Hi Vishal,
Sorry for the late reply!
It requires some parameters/inputs for creating new site/sub-site from the object model code, i.e. web site URL, web site name, web site description, port address and many more.
I am hoping that you will be having all above parameters into your list from where you want to create new sub-site for each items from the code.
Here are some links from where you will get exact code for how to create site from code.
http://www.fivenumber.com/a-quick-look-on-sharepoint-object-model-programs/
http://msdn.microsoft.com/en-us/library/ms448720.aspx
Now as per your requirements:
1#) Creating site for existing records/items into SharePoint List: You need to write and add above code into small utility program which will go into existing list and take each item and create site for you.
2#) Creating site for new records/items into SharePoint List: You need to write event handler on “Itemadded” event and write above code into event handler which will create site when any user create new item into SharePoint list.
I hope you will get solution from above mentioned steps, if not then please let me know if you need any other information.
Thanks,
Sanket
Hi Sanket,
I am new in sharepoint development. Can you please advice how to create workflow in VS2008?
Scenario is as below.
I have two list
1. Submitted Docs(Where user can upload documetn)
2.Approvers( Contains the list of approvers. Has two column Name and Rank)
Now once user upload documet then workflow should start and task would we created for approvers respected to there rank.
Hi Jimmy,
Sorry for the late reply!
There are many good links available on net to start SharePoint development with VS workflow, but I would recommend you to first check and see “Robert Shelton’s blog” related with workflow.
Here are good links for you from which you can start your development into VS 2008 workflow.
http://rshelton.com/archive/2007/10/05/sharepoint-document-workflow-with-visual-studio-workshop-documents-download.aspx
http://www.sheltonblog.com/archive/2007/11/04/series-of-sharepoint-workflow-how-to-videos.aspx
Another Links:
http://msdn.microsoft.com/en-us/library/cc936628(office.12).aspx
http://vspug.com/andynoon/2008/02/06/sharepoint-2007-workflow-with-visual-studio-2008/
Just to give you brief idea about your solution as per your requirements.
1. You need to start your development by creating new sequential project workflow from VS 2008.
2. Select your list in which you need to trigger your workflow (in your case it’s “Submitted Docs” library)
3. Drag and add “Create Task”, “On Task Changed” and other related activity into your project, write code into “On Task Created” activity for taking approver name from different list (in your case it’s “Approvers” list.
4. Run and test your workflow.
I have just written overall points to make you start your development work, please look into above video and information to get more idea and let me know if you need any other information.
Thanks you!
Sanket