Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Marla    Date: Jan 12    Category: Sharepoint    Views: 1152

Does anyone hnow how many subscriptions are recommended in an workspace?

Can change the value of the amount of subscriptions? aond is enough?



26 Answers Found

Answer #1    Answered By: Akshara Negalur     Answered On: Jan 12

I subscribed to a document and set it to notify me whenever a change
occurs. Are notifications only being sent out when there is a change  in
the published version only because I don't get notified during the
changes in draft versions? And I have the author roler.

Answer #2    Answered By: Timothy Davis     Answered On: Jan 12

That is correct. Notifications are created when documents are indexed
and indexing occurs when the document is published.

Answer #3    Answered By: Adya Deshmane     Answered On: Jan 12

Is there some way of getting a complete list of Subscriptions for a

Answer #4    Answered By: Siobhan Waller     Answered On: Jan 12

There isn't a good built-in tool for administratively managing
subscriptions. Users can manage their own subscriptions, and
administrators can manage specific subscriptions  one by one if the
target email address is known.

The subscriptions are stored numerically in
http://server/wksp/system/Subscriptions. The first subscription is
called "1", a zero-byte file with lots of metadata that you can't access
through Windows Explorer or Internet Explorer. Subsequent subscriptions
increment. (side note to you gurus out there... since Sharepoint has a
semi-imposed limit on how many files should be in a folder... I suppose
this may very well limit the # of subscriptions and performance?)

The only way I know of to go in and browse the subscriptions and the
metadata associated with it is with PLEX. Some call it WSS Explorer,
Exchange Explorer, "the bane of my existence," etc. But I think most
call it PLEX.

I'm sure you can find several how-to's in the faq sites or this
newsgroup on how to use PLEX.

Answer #5    Answered By: Lorenzo Steele     Answered On: Jan 12

Does anyone know how to hide the "Subscribe to this category" link on the
category web parts?

Answer #6    Answered By: Divakar Naik     Answered On: Jan 12

You need to edit portal/resources/CategoryInfoPart.xsl to not display
the link.

Back up the CategoryInfoPart.xsl to CategoryInfoPart.xsl.bak
Copy the file locally.
Edit it with your favorite editor
look for


Remove the <A id="id_subscribe... all the way to the matching </A>. On
mine, it's line 95 and encompasses the entire line.

Then copy the file back to portal/resources. I just did this on my test
workspace and it worked fine.

Note that editing files in portal/resources is unsupported by Microsoft
and if you call them for support, they can deny you.

Answer #7    Answered By: Marcus Davis     Answered On: Jan 12

I one other question if you wouldn't mind answering it? I would also like
to hide the Discuss, Subscribe and Show Actions links which appear under a
document. I know, we have are stripping the interface down to the bare
bones, but that's what the user wants. I assume this can be done in a
similar fashion as what you described in hiding the Subscribe link on the
Category web part. Since my dashboard only consists of a search web part
and a category web part, I assume that two files would need to be changed.
Do you know which files would contain those links for those web parts?

Answer #8    Answered By: Perla Vang     Answered On: Jan 12

Yes, it's very similar. Same file for Categories. For searches or
Document Library, you edit SearchResultsPart.xsl and FolderItemsPart.xsl
respectively. Just comment out the <A....> ... </A> parts. This is how
I disabled the 'discuss' link in my setup.

Answer #9    Answered By: Sandra Alexander     Answered On: Jan 12

Does anybody know if there is any web part that will display all
subscriptions in the portal and which users they are associated to?

Answer #10    Answered By: Nalin Rao     Answered On: Jan 12

I am also looking for this solution. Can anyone help us.

Answer #11    Answered By: Thomas Davis     Answered On: Jan 12

Joint MSD2D.com [free] and look at

Answer #12    Answered By: Dominic Davis     Answered On: Jan 12

Has anybody tried this code in a web part yet? I cannot get it to work
at all, the submit query button doesn't do anything. If anybody has
gotten this to work, can you please help me out.

Answer #13    Answered By: Indu Raj     Answered On: Jan 12

You can write a search query using ADO and search for


to the desired results.

Where to search:

http://" & strServerName & "/" & strWorkspaceName &

Answer #14    Answered By: Khushi Srivastava     Answered On: Jan 12

Sorry, I forgot that I had to comment out some lines. I'll check my version and
get back to the list.

Answer #15    Answered By: Arti Patel     Answered On: Jan 12

After scratching my head serveral times because of 'Error - Object doesn't
support this property or method:'document.all.XMLResponse'

I commented out all of those references and the web part worked like a champ.
Amke sure the txtSourceUrl is pointing to:

Answer #16    Answered By: Claire May     Answered On: Jan 12

I'm having trouble getting the code to run in a webpart as well. I've got the
same problem: it runs, but when I press the query button, it just says "loading,
please wait" for ages. Which comments should I comment out? (I take it you mean
I have to add a ' in front of each comment line?).

Answer #17    Answered By: Dan Dickerson     Answered On: Jan 12

Still does not work for me. Am I supposed to copied the code right into the web
part in the Embedded Content box and HTML as the Type of Content?

Answer #18    Answered By: Phenil Poriya     Answered On: Jan 12

I also noticed in the code that all lines that included document.all.XMLResponse
are already commented out. There were a total of 4 lines.

Answer #19    Answered By: Dante Parsons     Answered On: Jan 12

I just pasted it in there, yes, and changed the txtSourcUrl and username and
password settings. The webpart shows up, but the button doesn't do anything, not
even "loading, please wait" anymore.

Any ideas?

Answer #20    Answered By: Luke Davis     Answered On: Jan 12

This is what I write in the Source URL box:
and this is the respons I get: Error, status = 503 Service Unavailable.
Any suggestions on a work around?

Answer #21    Answered By: Daniella Landry     Answered On: Jan 12

1. Save the following code to your desktop as readsubscriptions.dwp
2. Edit it and add your portal server's name inplace of the periods afrter the
http:// in line 198
3. Import the web parts to your dashboard content.

--------Code begins below this line ------------
<?xml version="1.0"?>
<WebPart xmlns="urn:schemas-microsoft-com:webpart:">
<Title>Show Subscriptions</Title>
<META NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
<TITLE>SPS subscriptions  Search</TITLE>
<!-- The XSL template is used to transform the search method response into an
HTML table which displays properties of the resources listed.-- -->
<xml id="searchxsl">
<xsl:template xmlns:xsl="uri:xsl" xmlns:g="DAV:">
<table ID="thetable" Border="4" Width="100%" Style="border-style: ridge"
cellspacing="0" bordercolor="#808080" bordercolorlight="#ffffff"
<!-- The table headers -->
<th width="5%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
<th width="25%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
<th width="25%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
<th width="25%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"

<xsl:for-each select="a:multistatus/a:response">
<td><xsl:value-of select="a:propstat/a:prop/a:displayname"
select="a:propstat/a:prop/e:SubscriptionOwner" /></td>
<td>[<xsl:value-of select="a:propstat/a:prop/d:to"
<td><xsl:value-of select="a:propstat/a:prop/f:Description"
<script language="vbscript">

' Declare variables.
Dim xmlDoc
Dim strPropReq

'// Name: cmdListProperties_OnClick
'// Purpose: Performs a WebDAV search method of depth=1 on a Source URL
'// and uses an XSL to render the results in an HTML table.
'// Input: None.
'// Output: None.

Sub cmdListProperties_OnClick()

' Get the Source URL string.
strSourceURL = document.all.txtSourceURL.Value

' Make sure the Source URL isn't null.
If strSourceURL = "" Then
msgbox "You must enter a valid Source URL."
exit sub
End If

' Check to see if strSourceURL has http:// in the beginning.
If UCASE(Left(strSourceURL,7)) <> "HTTP://" Then
msgbox "You must add 'http://' to the Source URL."


' Clear the Status and Response text boxes and post "In progress..."
document.all.XMLStatus.Value = "In progress..."
'document.all.XMLResponse.Value = ""
xsldest.innerHTML = "<B>Loading... Please Wait</b>"

' Create the XMLHTTP object.
Set oXMLHTTP = CreateObject("microsoft.xmlhttp")

' Initialize the request, specify the search method and the Source
' URL. The true argument specifies that the information will be sent
' to the server asynchronously.
oXMLHTTP.Open "SEARCH", strSourceURL, False, "", ""
strPropReq = "<?xml version='1.0'?>"
strPropReq = strPropReq & "<a:searchrequest xmlns:a=""DAV:"">"
strPropReq = strPropReq & "<a:sql>"
strPropReq = strPropReq & "Select ""urn:schemas:mailheader:to"",
""DAV:displayname"", ""urn:schemas-microsoft-com:publishing:SubscriptionOwner"",
strPropReq = strPropReq & "FROM SCOPE('shallow traversal of "
strPropReq = strPropReq & "')"
strPropReq = strPropReq & "ORDER BY
""urn:schemas-microsoft-com:publishing:SubscriptionOwner"" "
strPropReq = strPropReq & "</a:sql>"
strPropReq = strPropReq & "</a:searchrequest>"

', ""urn:schemas-microsoft-com:office:office#Description""

' Set the Content-type header to "text/xml".
oXMLHTTP.setRequestHeader "Content-type:", "text/xml"

' Set the Depth header to 1 so that the search method
' will operate on the resource and its immediate children.
oXMLHTTP.setRequestHeader "Depth", "1,noroot"

' Because this method is being called asynchronously, an event
' handler must be specified to handle the data returned from the
' server.
oXMLHTTP.onreadystatechange = getRef("XMLHTTPStateChange")

' Send the method request.
oXMLHTTP.send (strPropReq)

End If

End Sub

'// Name: XMLHTTPStateChange
'// Purpose: Called when the XMLHTTP.readyState property is changed. The
'// property is set to 4 (Completed) when the client has received all
'// the search response data from the server. The completed data is
'// available in the XMLHTTP.responseBody and XMLHTTP.responseText
'// The XML response is then transformed with the XSL template into
HTML and
'// rendered in a table in the page.
'// Input: None.
'// Output: None.

Sub XMLHTTPStateChange
' Declare variables.
dim errText

' Check the ready state to see if all the data has been streamed back
' from the server.
If (oXMLHTTP.readyState <> 4) Then
exit sub
End If

' Checks for the expected 207 Multistatus response.
If(oXMLHTTP.status <> 207) Then
'document.all.XMLResponse.value = ""
document.all.XMLStatus.value = ""
xsldest.innerText = "Error, status = " & CStr(oXMLHTTP.status) & " "
& oXMLHTTP.statusText
errText = "Error!"

' Display the XML response in the ResponseText text box.
'***document.all.XMLResponse.Value = ""
xsldest.innerHTML = "<B>OK. Search done!</b>"
'document.all.XMLResponse.value = oXMLHTTP.ResponseText

If errText = "" Then
' Display the response status and text.
document.all.XMLStatus.value = oXMLHTTP.status & " " &
' Display error text.
document.all.XMLStatus.value = errText
End If

' Get the XML response body as an XMLDOM object.
Set xmlDoc = oXMLHTTP.responseXML

' Use the XMLDOM object to transform the XML response into an HTML table
' using the XSL template.
xsldest.innerHTML = _

End If

' Clean up.
Set oXMLHTTP = Nothing
Set xmlDoc = Nothing
End Sub

<H1 style="margin-top: 1; margin-bottom: 1">
<font color="#3366CC" size="4">SharePoint Portal
<p style="margin-top: 1; margin-bottom: 1"><font
color="#3366CC"><b>All Known Subscriptions</b> :<br>
<font color="#3366CC" size="2">DAV Status:</font>
<TEXTAREA rows="1" cols="40" id="XMLStatus"
<table border="1" cellpadding="12" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<td width="100%" bgcolor="#E6EEF0">
<INPUT type="text" id="txtSourceURL" name="text1" size="65"
<P style="margin-top: 3; margin-bottom: 3">
<INPUT id="button1" name="cmdListProperties" type="button"
value="Show Subscriptions">&nbsp;&nbsp;&nbsp;&nbsp;
<div id="xsldest"></div>


<TEXTAREA rows="10" cols="20" id="XMLResponse" name="textarea2"
type="hidden" ></TEXTAREA></p>

Answer #22    Answered By: Bo Stafford     Answered On: Jan 12

Now I get an access is denied. I don't see the line to enter the username and
password in the code below. How does it know who to come in as?

Answer #23    Answered By: Jocelyn Shelton     Answered On: Jan 12

There is no line for userid and password. You have to be a portal coordinator to
access the subscriptions. If 'Management' is not one of the subdashboards on
your main dashboard then you do not have the Coordinator role for the portal.

Answer #24    Answered By: Joey Soto     Answered On: Jan 12

I think I've almost got the webpart running. I
copied the code in a text file which I named readsubscriptions.dwp. I entered
the name of our Sharepoint server on the dotted line, and imported the webpart
into the Management tab.

When going back to the dashboard, the webpart shows up. When I click "show
subscriptions", the DAV status illustrates "In Progress..." and it says
"Loading... Please Wait" at the bottom. This loading part, however, doesn't seem
to end. How long does it normally take for the subscriptions  to show up?

I tried changing the addess of the subscriptions in the box above the button,
but the same thing happens.

Any ideas?

Answer #25    Answered By: Gerard Randall     Answered On: Jan 12

I tried this webpart on both my development system (where I also have
local admin to the server) and a test server where I do not. Running it
all I get is this message when I click on Show Subscriptions:

Error, status = 409 Conflict

Any ideas?

Answer #26    Answered By: Audra Mccormick     Answered On: Jan 12

It is almost instantly for us, but we have less than 100 subscriptions.
Something else must be wrong, maybe a configuration problem. youcould try
putting in extra debug code to show where it maybe hanging.

Didn't find what you were looking for? Find more on Subscriptions Or get search suggestion and latest updates.