Document Center and Content Organizer

17 02 2012

One of SharePoint 2010′s hidden gems is the combo document center and content organizer.
By default the Document Center has a nifty Upload Document Button, but it goes to the standard document library. You can change that and point it to the Drop Off LIbrary that is produced when you enable the Content Organizer.

All you have to do is change some javascript. Here is how:

Edit the welcome page from Site Actions, and then click on the “Upload a Document” button. You will see this is actually just a content editor web part, so from the ribbon, under “Editing Tools” / “Format Text” click the HTML drop-down and then “Edit HTML Source”.

Replace the reference to the “Documents” library with “DropOffLibrary” i.e.:

<div><button onclick=”javascript:OpenNewFormUrl(‘DropOffLibrary/Forms/upload.aspx’);return false;” type=”submit”><nobr><img alt=”Upload a Document” src=”/_layouts/Images/uploaddoc.png”/> <span>Upload a Document</span></nobr></button> </div>

Save or stop editing the page and your done! The “Upload a Document” button will now default to uploading document to the Drop Off Library!





Here is why SPD 2010 Worfklows do not start automatically.

5 11 2011

Apparently this bug is left over from MOSS 2007. Maybe its really a feature, although I am not sure. But here is the situation:
You create a SPD 2010 workflow, set it to start automatically or when an item changes and publish it to your site.

You log in with your system account and to test the workflow.

You create something, but workflow does not kick off automatically.

It seems you can only start it manually.

This is no good.

The FIX:
Log on with any other account that has contribute permissions.
Test the workflow.
It works.
Weird.





Custom Permission? Ok, but ask your site collection admin.

3 11 2011

So i was trying to assign custom permissions to a site and I realized I couldn’t. Why? Because you need to do this at the Site Collection level. Duh! How did I miss that.
Just a little golden nugget of info brought to you by your friendly Farm Admin.

Nando





Turn Folders into Document Sets. YUP!

2 11 2011

Is this possible? Can sharepoint be this Awesome?
Yes it can. All you need is this:

This handy codeplex WSP that fixes the annoying bug in sharepoint that doesn’t totally convert folders
to document sets all the way:

http://foldertodocsetfix.codeplex.com/

2. You need to create a workflow in sharepoint designer.
Choose List Item and choose the Document library/Library you want to associate the WF with.
What we wan to do now is set a condition that says, “if the content type id=Folder, set contentId to Document Set.
You must set the workflow to start when a new item is created.
Once you have all these configured, the magic happens. Your Folder is now a document set. You can create different document set content type. Very very handy.

If you need more help, just leave a comment. I will get back to you asap.

 

Nando





SharePoint 2010 Document sets and Custom Views, yes we can!

9 09 2011

Loving the document sets is hard to do if you can’t do the custom view dance. But, fear not, you can love all you want, because there is a way to achieve custom views inside of document sets.

As you all probably know, if you have a document library with document sets and you create a custom view, all hell breaks loose, and sharepoint treats the document sets as filterable items. What we wanted to just sort, filter and group the items INSIDE the document sets, not the sets themselves.

Microsoft did a really good job in hiding this feature from plain site. So enjoy the fruits of my laborious labor, er, searching, cuz i have found the answer. Here is how:

1. Create your custom view. Make sure you give it a descriptive name.

2. Its ok to group stuff via metadata. Don’t forget Metadata is your best friend.

3. Now comes the tricky part. Go to Library Settings and under Content Types click on the document set content type. This will bring the properties of the document set up.

4. Click on Document Set settings. This is where the magic happens.

5. Way down at the bottom, there is a Welcome Page View. In Select view, the custom view you just create in step one should be there, along with all the others. Select your view.

6. Click OK, and go back to your document set.

7. Rejoice in the love.

I do have one question for you all.

Do you like apples?

If answer = yes

How do you like them apples?

Peace.

Nando.

 






Automate PDF Filter Installation

21 07 2011

Hey Sharepoint Peoples,

I found this nifty little script to automate your pdf filter installation.
Very cool sir, very cool.

http://www.sharepointusecases.com/index.php/2011/02/automate-pdf-configuration-for-sharepoint-2010-via-powershell/#comments





Access denied, can’t crawl web application.

30 06 2011

This strange incident just happened on a brand new farm.
I was able to crawl, mysites and cthub, but for whatever reason my http://portal url was un-crawlable. I took to the google and found a bunch of post stating the famed disableloopback reg edit suggested by the forum gods:

Click Start, click Run, type regedit, and then click OK.
In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Right-click Lsa, point to New, and then click DWORD Value.
Type DisableLoopbackCheck, and then press ENTER.
Right-click DisableLoopbackCheck, and then click Modify.
In the Value data box, type 1, and then click OK.
Quit Registry Editor, and then restart your computer.

THIS DID NOT SOLVE MY PROBLEM.

I was still getting access denied. So why is the cthub web app yield successful crawls but not the portal web app?
So my next step was just to create a random web app with a random port number, detach the portal content database, attach it to random web app and crawl.
It totally worked. So i configured AAM on random web app to http://portal, added the name of the new web app to the content source (along with sps3) and crawled again.

Content started flowing like water. Why did it do this? I do not know, but at least search works.

 

nando





DOJO Tip: Audiences

29 04 2011

Tip:
If your UPS service works but your Audience targeting does not, check to make sure UPS profile is selected in the service connections in central admin.
Avoid headache.

Nando





Troubleshooting User Profile Service

20 04 2011

Microsoft make me happy:

http://blogs.technet.com/b/steve_chen/archive/2010/10/13/troubleshooting-user-profile-sync-issues-on-sharepoint-2010.aspx








Follow

Get every new post delivered to your Inbox.

Join 39 other followers