Pages

Showing posts with label SharePoint. Show all posts
Showing posts with label SharePoint. Show all posts

Thursday, February 16, 2012

SharePoint #2

My list "Why I hate SharePoint" is getting longer by the minute.

Upon moving pages into folders, SharePoint ignores folder-structurs over all.
For example:
"Basesite -> Index"
is displayed correctly.
but, when I create a folder and move the index page into this folder the following is diplayd:
"Basesite -> Index"
instead of
"Basesite -> Folder -> Index"
Okay, I might live with this issue, since in the navigation (which I have to build manualy, 'cause automated navigation is screwed) I am able to correct this issue.

Next I noticed, if I try to change a page title, it get's ignored too.

I tried to use it as a compensation for the broken page-display, but....

I edited the title of a page inside a folder to:
"Foldername - Pagename"
Which is displayed correctly in the page options. But not in the HTML-title-tag.

This is definatly a WTF!

SharePoint, screw you

SharePoint and JavaScript

Today I wanted to edit a Wiki-Page in our company.

Well editing did work finy, up to the point where I wanted to add a JavaScript to a link.

Specifialy a OnClick-event.

First of all SharePoint doesn't support this type of link at all.
The only thing Sharepoint does undestand is "create a link" with some kind of url behind it.

Which will result in a <a href="linkToSite">Text</a> in HTML.

So I went for editing the HTML by myself.
The part where the link is definde was found quickly and the HTML tags for OnClick have been inserted:

HTML code now: <a href="#" OnClick="someJavaScriptStuff">Text</a>

As soon as I closed the HTML-editor on the SharePoint WYSIWYG editor it told me "Some of your HTML might been edited.".
So I reopened the HTML-editor and looked my link up again.

It looked like I left it.

I was like, great, it works.

Next step: Save page.

Okay, hit the link and.... nothing works.

Next step: Reedit page, go into HTML mode and:

THE OnClick-event WAS MISSING!

What on earth was the developer thinking, who implementet such a rule?
Honestly, HTML-Validator passes without errors, and SharePoint deletes this stuff silently?