Friday, February 4, 2011

No one is able to delete a particular document from a document library

One of the very fresh incidents I have gone through. In my SharePoint farm for a specific documents library No one is able to delete a particular document from a document library

Below steps are followed to resolve this issue:
I tried using my Farm Admin account but no luck
I have tried to delete this doc using STSADM, Powershell, content & structure, and even SharePoint manager. All of which error saying the document is checked out or locked by a user. I have also tried turning off the Force check out feature.
No luck

The odd thing is, that the document icon, does not show as though it is checked out. And the drop down menu only has "check out", but when you try that, you get an error stating the document was NOT checked out.

If you try to delete via explorer view, it pops right back up after a page refresh.

When I look at its properties in SharePoint manager, it shows the document as checked out to that same user, but it also shows that I checked it in via content & structure. So it also says the checkout status is "short term", but I waited until the lock "should have" expired, and tried to delete it again. But no luck, it just pushed out the lock expiration.

This library has hundreds of documents; to delete it and re-create it would not really be a possibility. I am able to upload new docs and delete them.

Resolution
Finally none of the above steps helped me to delete the document so I used SharePoint designer.
Opened the site in SharePoint Designer and just browsed to that document library, selected those documents and deleted it, which was deleted without a question.

Still I am in search how this happened !!

Wednesday, January 12, 2011

Enable (Enhanced Rich Text ) font format toolbar in Blog site in MOSS 2007


I have recently found issue in which Font toolbar was missing after server migration.
For troubleshooting:

  1. Check following settings on Blog site
  2. Go to "Post > List settings"
  3. Under "Columns" option you will get "Body column" which is "Multiple lines of text"
  4. Click on Body name, it will show you "Body column's settings"
  5. Under "Additional column settings" find for "Specify the type of text to allow"
  6. Right now it must be with "Plain text" so change it to "Enhanced Rich Text" which will give you toolbar back.

"Enhanced Rich Text" option is enabled by default

Friday, September 17, 2010

How to upload a document to multiple document libraries simultaneously?

This might be a known issue and thee might be so many solutions to resolve this, but my issue is resolve using below method so I am posting this on blog..

·         Let’s say we have to upload Documents to Test1 (Source Doc Lib) and Test2 (Destination Doc Lib) Document Library simultaneously
·         We can achieve this task by creating SP Designer conditional workflow
·         Refer following figure.


·         Open SharePoint Designer 2007 and then click on New > Workflow
·         On the Define your new workflow stage provide a meaningful name and select a startup type as per
your requirement.
·         Under that box you will get option to select which on which list you want to enable that workflow.
·         Click Next.
·         It will prompt you the Conditions and Actions page
·         In Condition select – Modified by specific person condition
·         Then click on specific person label and it will open option as shown in following figure
  
·         Select User who created current item option and add it to Selected Users box
·         Reason behind selecting this option is when any user uploads a document to that specific Doc Lib it will be automatically updated to destination Doc Lib
·         Then click on Actions button which will give you below option


·         Select Copy List Item option and then select copy item in Test1 (Source Doc Lib) to Test2 (Destination Doc Lib)
·         Click finish, which will finish setup of workflow on Doc Lib Test1

·         Now go to Test1 (Source Doc Lib) and upload a document.
·         In that Test1 you will see a column with the same name with which you have created a workflow, and it will give you in progress status.
·         Just go to Test2 (Destination Doc Lib) and you will get the same document listed over there.
·         And when you come back to Test1, In progress status will be over and it will give you Completed status.





Attention: One more thing I would like to specify at the end, if you have selected Manual start then you have to manually start the workflow associated on that Doc Lib.

Popular Posts

Disclaimer

The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.