Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Subscriptions

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

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

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

Share: 

 

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
workspace?

 
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.

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

id_subscribeToThisCategoryLink

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
www.msd2d.com/.../Tip_viewitem.aspx\
istration&id=ea0d2956-d278-4a4e-84f3-ec8f119ceba3

 
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

urn:schemas-microsoft-com:office:office#Description,urn:schemas-microsof
t-com:publishing:NotificationType,
urn:schemas:mailheader:to,urn:schemas-microsoft-com:publishing:Subscribe
dTo,urn:schemas-microsoft-com:publishing:SubscriptionOwner

to the desired results.

Where to search:

http://" & strServerName & "/" & strWorkspaceName &
"/system/Subscriptions"

 
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:
http:/[ServerName]/public/workspaces/portal/system/subscriptions

 
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:
http://<servername>/public/workspaces/portal/system/subscriptions
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>
<Description></Description>
<Content><HTML>
<HEAD>
<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"
bordercolordark="#000080">
<TBODY>
<tr>
<!-- The table headers -->
<th width="5%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
size="3">Name</font></th>
<th width="25%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
size="3">SubscriptionOwner</font></th>
<th width="25%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
size="3">EmailNotificationTo</font></th>
<th width="25%" bgcolor="#3366cc">
<font color="#ffffff" face="Tahoma"
size="3">Description</font></th>

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

' Declare variables.
Dim oXMLHTTP
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."

Else

' Clear the Status and Response text boxes and post "In progress..."
messages.
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"",
""urn:schemas-microsoft-com:office:office#Description"""
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
readyState
'// property is set to 4 (Completed) when the client has received all
'// the search response data from the server. The completed data is
now
'// available in the XMLHTTP.responseBody and XMLHTTP.responseText
properties.
'// 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!"

else
' 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 & " " &
oXMLHTTP.statusText
else
' 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 = _
xmlDoc.transformNode(searchxsl.documentElement)

End If

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


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

<p>
<style>

<TEXTAREA rows="10" cols="20" id="XMLResponse" name="textarea2"
type="hidden" ></TEXTAREA></p>
{visibility:hiden}
</style>
</BODY>
</HTML></Content>
<ContentLink></ContentLink>
<XSL></XSL>
<XSLLink></XSLLink>
<MasterPartLink></MasterPartLink>
<RequiresIsolation>0</RequiresIsolation>
<ContentType>0</ContentType>
<IsIncluded>1</IsIncluded>
<AllowRemove>1</AllowRemove>
<IsVisible>1</IsVisible>
<FrameState>0</FrameState>
<AllowMinimize>1</AllowMinimize>
<HasFrame>1</HasFrame>
<Zone>3</Zone>
<PartOrder>0</PartOrder>
<PartImageSmall></PartImageSmall>
<PartImageLarge></PartImageLarge>
<CustomizationLink></CustomizationLink>
<CacheBehavior>0</CacheBehavior>
<CacheTimeout>0</CacheTimeout>
<PartStorage></PartStorage>
<Namespace></Namespace>
<Height></Height>
<Width></Width>
<DetailLink></DetailLink>
<HelpLink></HelpLink>
</WebPart>

 
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.




Tagged: