Sunday 25 March 2012

How to edit a list item by clicking on its title in Sharepoint 2010


Hi,

I received a request from someone to modify a list view in such a manner that if some click on the title of the item it should take him to the edit page instead of display page in sharepoint 2010. I have already managed to do this in sharepoint 2007 and have written an article on it here http://rahulrashu.blogspot.in/2012/03/how-to-edit-list-item-by-clicking-on.html . After some work with sharepoint designer 2010 I was able to mange it in few steps here as well . Here are the steps needs to be followed in this case:
1. Open the site in sharepoint designer.
2. Go to All Files.
3. Navigate down to the list where you want to do the modification.
4. Then open the view in sharepoint designer by double clicking on it in my case it was allitems.aspx.(Check it out first)
5. Now right click on the title part as shown in the screenshot below and select format hyperlink to Edit Form.















6. Save this file and you are ready to go.

I hope this will help you out.

Thanks,
Rahul Rashu

Saturday 24 March 2012

How to edit a list item by clicking on its title in Sharepoint 2007

Hi,

I received a request from someone to modify a list view in such a manner that if some click on the title of the item it should take him to the edit page instead of display page. After some work with sharepoint designer I was able to mange it in few steps. Here are the steps needs to be followed in this case:
1. Open the site in sharepoint designer.
2. Navigate down to the list where you want to do the modification.
3. Then open the view in sharepoint designer by double clicking on it.
4. Now right click on the area of list viewer webpart and click the option to Convert to XSLT data view.
5. Now click on the section of title as shown





6. This will also select the portion in code part. There you will get a code portion as :
href="{$URL_Display}?ID={@ID}" onclick="GoToPage('{$URL_Display}?ID={@ID}')

7. Now just change it to:
href="{$URL_Edit}?ID={@ID}" onclick="GoToPage('{$URL_Edit}?ID={@ID}')
8. Save the page and you are ready to go.
9. Now if you click on title you will be taken to Edit form instead of dispform .

I hope this will help you out.

Thanks,
Rahul Rashu

Saturday 3 March 2012

Your personal site cannot be created because the managed path "Path" has not been created for this site. Contact your site administrator for more information in Sharepoint 2010

Hi,

Recently one farm administrator reported a problem to me that they are unable to setup the mysites in SPS 2010 environment. They were following all the instructions in technet articles http://technet.microsoft.com/en-us/library/ee624362.aspx but still they were getting this error "Your personal site cannot be created because the managed path "Path" has not been created for this site. Contact your site administrator for more information". I suggested them to check if the managed paths are created and set up properly or not. They checked the same and found them OK. I suggested to create a new wildcard managed path and to test the same and they did so but their was nothing that could have caused this. At last I found the reason for it.

Under mysite settings their is field "Location". Here you need to add your managed path you have created for your mysites but you should only add its name and not with the full URL. So if you have created it as "Personal" it should be "Personal" only and not with the URL format as http://webApplication/mangedpath.

I asked them to change it and it worked.
I hope this will help you out.

Thanks,
Rahul Rashu