Posts tagged SPD

Download SharePoint Designer 2007 for free

SPD 07 is now available for download.

http://msdn.microsoft.com/sv-se/evalcenter/bb190710(en-us).aspx

We have implemented a number of changes to promote and facilitate even more customization efforts on top of the SharePoint platform including making SharePoint Designer 2007 available as a free download. For more information visit our SharePoint Designer web page.

Add “Add Attachment” – functionality to a MOSS2007 Blog (Posts)

I came across this blog post about how to add the “Add Attachment” functionallity to your blog on MOSS 07, 

http://www.konfabulieren.com/2007/08/23/howto-add-add-attachment-functionality-to-a-moss2007-blog-posts/

Simply edit the following file in eg. notepad. (Make sure to crete a backup of the original)

located @ C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\SiteTemplates\Blog\Lists\Posts\schema.xml

Remove below code in red:

 <Forms>
<Form Type="DisplayForm" Url="ViewPost.aspx" WebPartZoneID="Main" />
<Form Type="EditForm" Url="EditPost.aspx" ToolbarTemplate="BlogEditFormToolBar" Template="BlogForm" WebPartZoneID="Main" />
<Form Type="NewForm" Url="NewPost.aspx" ToolbarTemplate="BlogNewFormToolBar" Template="BlogForm" WebPartZoneID="Main" />
</Forms>

So it looks like:

<Forms>
 <Form Type="DisplayForm" Url="ViewPost.aspx" WebPartZoneID="Main" />
 <Form Type="EditForm" Url="EditPost.aspx" WebPartZoneID="Main" />
 <Form Type="NewForm" Url="NewPost.aspx" WebPartZoneID="Main" />
</Forms>

 

If you want to display the attached files in your post please convert the Wep Part in your post.aspx that shows the “post” to an XSLT DVWP.
Fix the Author problem by removing the = character before =@Author and thenfollow the guide below:

Now you have to open the post.aspx of your SharePoint 2007 blog and add the code linked from :

http://blogs.msdn.com/dmp/archive/2009/01/21/how-to-show-attachments-with-dataformwebpart.aspx


   

How to show Attachments with DataFormWebPart

Found this great post that simply explains how to show a link to your attached files from a list in a DVWP. this solution workes like a charm.

http://blogs.msdn.com/dmp/archive/2009/01/21/how-to-show-attachments-with-dataformwebpart.aspx

Some great news about SharePoint 2007

I found a blog entry @ OfficeSharePointPro.com that brings up som upcoming features regarding SharePoint. topics below

• SharePoint Designer Set Free (as in FREE)

•Customizing SharePoint Online with SPD

•Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3 – Mar 2009 CTP

 Check out the full post at the OfficeSharePointPro blog :> http://officesharepointpro.com/Articles/tabid/149/nodeid/1967/SharePoint-Designer-Kicks-It-Up-a-Notch.aspx

Change SharePoint 2007 Data View Filter with Javascript

I found this blog about How to query cross-site lists in DataFormWebPart , and from that I found out how to simply change filter value on a column on a Data View Web Part with a javascript.

http://jamestsai.net/blog/default.aspx

Simply add a onlick event or whatever on your page page and make sure you have enable filter on column header enabled in SPD.

ex:
onclick=”__doPostBack(‘ctl00$PlaceHolderMain$g_0af48c6e_86ae_427e_ab2e_167525795962′,’NotUTF8;__filter={@Title=##dvt_all##}’);”
onclick=”__doPostBack(‘ctl00$PlaceHolderMain$g_0af48c6e_86ae_427e_ab2e_167525795962′,’NotUTF8;__filter={@Title=Value}’);”

g_0af48c6e_86ae_427e_ab2e_167525795962′ is the data view web part id.

 

Hope this works.