Bugs in Sharepoint Designer 2007

English:
Have you tried Sharepoint Designer 2007 – the next version of Frontpage 2003? If you haven’t just grab one from Office 2007 beta site.

The products offers advance features from its old brother, but I found one serious bug. It appears when we export listview into XSLT view.

The “smart” design of OSD (Office Sharepoint Designer) fails to detect the existence of javascript in the source document. Moreover it truncates the script into multiple lines, so you gonna have

function WPQ1
NewDoclibItem(url, bFolder)
{…..

instead of

function WPQ1NewDoclibItem(url, bFolder)
{…..

And you know, javascript statement must be in a single line.

 

Indonesian:
Sudah pernah mencoba pengganti Frontpage 2003? Kalau belum coba saja download dari situs beta Office 2007.

Dari sisi fitur, produk ini memiliki banyak kelebihan dibanding pendahulunya Frontpage 2003, namun saya menemukan satu kesalahan yang cukup mengganggu – yang terjadi pada saat kita mengexport listview kedalam XSLT view.

Kesalahan itu terjadi akibat OSD (Office Sharepoint Designer), yang terlalu “pintar” dalam melakukan formating source. Akibatnya, javascript yang seharusnya benar menjadi tidak berfungsi.

Contonya, kita akan mendapatkan:

function WPQ1
NewDoclibItem(url, bFolder)
{…..

dan bukan

function WPQ1NewDoclibItem(url, bFolder)
{…..

Dan seperti yang sudah kita pahami bersama, bahwa pernyataan didalam Javascript harus dalam satu baris – maka akibatnya akan muncul error pada saat listview sudah dikonversi kedalam XSLT view oleh OSD.

About

Riwut Libinuko, experienced Architect. Currently working with Credit Agricole CIB, responsible for SharePoint platform in Asia Pasific. . Certification: SharePoint 2013, SharePoint 2010, SharePoint 2007, ITiL v3

Posted in Microsoft Sharepoint, Office 12

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: