Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Edit File Tool (resource kit) --> how about edit file profile?

  Asked By: Sansuma    Date: Feb 06    Category: Sharepoint    Views: 813

I just imported the Edit File Tool's FolderItemPart.xsl into my workspace
and it's awesome -- it adds an "Edit" link to Office XP documents listed in
the Document Library so you can go straight into the Office App without
getting the run/save dialog. Really nice.

However, now I'm wondering if it wouldn't be a trivial thing to add another
link between Edit... and Discuss... that says "Edit Profile" so you can get
quick access to it. We primarily use standard folders right now (user base
is VERY new to doc mgmt), so editing the profile directly from the web page
would be nice to have, especially if the web part can auto-determine if the
doc is checked out or in a standard folder before displaying the edit
profile link.

And while I'm asking -- how best to get rid of the Discuss... link anyway?
I'll play around with FolderItemPart and see if it's just something I can
comment out (I've not played with XSL much) but thought I'd ask anyway.



4 Answers Found

Answer #1    Answered By: Anthony Robinson     Answered On: Feb 06

To remove the "Discuss" link  that shows up under each Document, edit
FolderItemsPart.xsl in the /Portal/resources directory (it's hidden by
default, so configure your browser to show hidden items) and find the
following lines:

<A id="id_discussThisItem"><xsl:attribute
bel_TEXT']"/></A> | <A id="id_subscribeToThisItem"><xsl:attribute

You want to remove the <A id="id_discussThisItem" tag -- meaning delete
everything between the <A and the </A>, INCLUDING the tags themselves. On
the edit  File tool  version, this starts on line 300. On the version that
comes with SPPS SP1, it's line 289.

The result should look like:

<A id="id_subscribeToThisItem"><xsl:attribute name="href"><xsl:value-of

and it works like a charm!

btw, does anyone even *use* discussions in Sharepoint Portal Server? It
just seems like a waste of time and never seems to work right. I understand
Team Services has better discussion forums and capabilities, but I've never
used TS -- we're straight 100% Portal Server.

Answer #2    Answered By: Antonio Kelly     Answered On: Feb 06

I expose an Exchange PF with a default conversation form to a web  part.
Works great (and less filling).

Answer #3    Answered By: Buddy Moon     Answered On: Feb 06

Can you remove the "Discuss" attribute specifically for just a
certain folder  as opposed to all the folders?

Answer #4    Answered By: Vishala Verma     Answered On: Feb 06

You'd have to write that in the XSL yourself, or get someone who knows it
well enough to do it for you. That I cannot do.