Alert on KM Document Expiry
Hi Forum,
I have enabled "Time Dependent Publishing" on a KM folder and i have set Valid from and Valid Until (lifetime) for the documents in it. When the Valid Until (expiry date and time) is reached for a document it is not visible to the users having only read permission to that folder. Upto this it is fine.
Now, my problem is i want to trigger an alert (into UWL of specific user) or send an automatic email, Just before the document is going to be expired. Any one gone through such requirement ? Please help me in finding way to bring this functionality or kindly let me know if there is any work around.
Regards
Ramesh Kotagiri.
Hi Goncalves,
Thanks for your response. Is there not any other means of achieving this with configuration settings ? Could you give some basic idea on which KM APIs should be implemented and any basic code. I haven't done any KM developments so far and only worked on configurations. Would be a great help if you can give me the clear steps what should be done ?
full points are guaranteed on any helpful answer.
Ramesh
Similar Messages
-
Alerts to admin before expiry of the document
Hi EveryOne,
I have created a folder in documents folder of KM Content. Then, I Enable Time Based Publishing Process. And, I set values for Valid From and Valid Until in Life time tab of each document in the folder. This process has done successfully. Here, I need an Alert message to the particular user before document expiring.
Pls some one give tips to me.
Thanks in advance,
VenkatHi Venkat,
Ther is no such mechanism implemented within the standard. Anyhow, you can implement your own scheduler task which works like the ones for the TBP service do, but checks not if the actual time as later than the ValidUntil value but if it <i>will be</i> later in x minutes / hours / days, and in such a case, create a mail to some admin or the creator of the document.
Best regards
Detlev
PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance! -
How to run alert box when document opens
I am using Acrobat 9 and would like an alert box come up when the document is opened. I have successfully gotten an alert box to pop up using the script below when saving using document actions, but do not know how to make it execute when the document opens. Can anyone tell me how to modify this to add it to Javascript actions so it will run when the document opens? Thank you!
app.alert("Save your completed form and email as an attachment to [email protected]", 0, 0,)It's not a questions of modifying it, but placing it in the right location.
You need to go to Advanced - Document Processing - Document JavaScripts...
Then create a new script, clear the contents of the window that opens (the
function declaration) and paste this line of code instead.
Save the file and that's it. -
KM Document Expiry Notification
Hi,
We have a requirement to generate notifications upon the expiry of a document in KM. I am aware that the Lifetime service is available for controlling when a document becomes accessible to users with read-only access. Taking this a step further, is it possible (with some development or otherwise) to generate a notification when a document reaches its expiry date?
Thanks,
Ju HwaHi Ju,
Did you get any solution for sending notification for documents nearing expiry date.
I am looking for some sample code for this.
Thanks & Regards,
Rgds,
Siva -
Send Notification to Admin on Document expiry
Hi all
I want to send notifications to Admin before a document expires.
How can I achieve this?
Regards
AparnnaHi
Thank you for the reply.
I have created a scheduler task for reading the "VALID TO" property of a resource.
I need to send an alert as a UWL task. Would you please tell me how can I achieve this? What are the classes required for this?
my mail id is : [email protected]
Regards
Aparnna -
Can a document expiry date be set
Is it possible to set a valid from/to date for a document in KM so that user can not have access outside the valid period?
Thanks
PatrickHi Patrick,
You can do that, in order to use this funcionality you must add Time-Dependent Publishing Service (tbp)
in your repository.
http://help.sap.com/saphelp_erp2004/helpdata/en/69/d96b86a84611d5993600508b6b8b11/frameset.htm
After that, in the directory where you want to use that,
you have to active it
Details|Setting|LifeTime
After loading your file you should setup for it its valid period:
Details\Settings\Properties\Lifetime
When ending this period, the only users with write permission can see this file.
Patricio. -
Hi,
Native alert on a document library can setup to email to the predefined user when any changes on the document.
However, I would like to setup a document library and alert me when
[email protected] [email protected]
[email protected] hasn't yet put a document to the library by 2014-07-01 (e.g today is 2014-06-26). The reminder email will send to
[email protected] [email protected] on 2 days before the dead line (ie. 2014-06-29) because
[email protected] and [email protected] hasn't put their file to the library on or after 2014-06-29..
ThanksHi,
http://stackoverflow.com/questions/17571562/creating-email-alert-workflow-for-sharepoint-file-libraries
http://stackoverflow.com/questions/18868479/how-to-send-automatic-email-notification-to-user-two-days-before-expiry-date
http://social.msdn.microsoft.com/Forums/en-US/acb12dd2-d6a5-4b7e-b233-037558bfa2e5/start-workflow-x-days-before-expiry-date?forum=sharepointcustomizationlegacy
Please remember to click 'Mark as Answer' on the answer if it helps you -
Link in alert email for PPTX document leads to "File Not Found" - Caused by encoding error
We have an issue brought to our attention by our customers that has me scratching my head. When our users sign up for an alert on a document library and a PowerPoint document is edited, the link in the alert email looks something like this:
http://Teams/sites/TeamABC/_layouts/PowerPoint.aspx?PowerPointView=ReadingView%26PresentationId=/sites/TeamABC/Shared%2520Documents/SharePoint%2520Service%2520Management.pptx
Although the issue looks like it could be with the double encoded spaces (first encoded is %20, second encoding is %2520), those work fine. The issue comes from the %26 between "ReadingView" and "PresentationId". The %26 is an encoded "&".
If I replace %26 with "&" the url string works fine. I have tried this in IE, Firefox, and Chrome and the result is the same in each, so it's not a browser issue.
The question then becomes, is the error the encoding when the alert is created and sent or is the error with the http handler in SharePoint that doesn't appear to understand how to handle %26? With that, any ideas on how to fix this (other than tell
users to edit the url in the browser changing %26 to "&")?
I should mention we are using SharePoint 2010, SP1, plus August 2011 CU, with Office Web Apps.Hello,
I think it is because we cannot use "&" in the file name when uploading the file to Sharepoint, we will receive the
message:
The following characters cannot be used anywhere in a site name, in a subsite name, or in a site or Active Directory group name:
tilde (~)
number sign (#)
percent (%)
ampersand (&)
asterisk (*)
braces ({ })
backslash (\)
colon (:)
angle brackets (< >)
question mark (?)
slash (/)
plus sign (+)
pipe (|)
quotation mark (")
You can check this
post on SharePoint forum:, if you have further questions, you can also post the question on the SharePoint 2010 forum
here
Hope above helps.
Daisy Cao
TechNet Community Support -
Alert on view in document library triggers unwanted alerts
A user has configured an alert on a document library view.
She still receives alerts from documents that do not belong to the specific view in this document library.
This is the only alert she has configured.
The alert seems the be correctly created.
Any ideas? Thanks, Johan
Johan CelisHi,
Based on your description, my understanding is that the user created an Alert on views in a document library, but she still received alerts from documents that do not belong to the specific view in this document library.
For your issue, first, make sure that there aren’t any other alerts on the documents.
Second, we can set up alerts on views in a document library
with the following things to be considered:
1. When you create an alert under Send Alerts for these changes section an option
"Someone changes an item that appears in the following view" appears with a drop down of all your views (so you can select any view you want to create alert from the DD choices)
2. This option is only available when you create views by filtering a column.
Best Regards,
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
Hi
Is it possible to get alert when user adds document? I was been told that it is possible by query.
Pls guide me on this
Regards
Shashihi guys You Con Try this method for instant alert
Alert For Document Add (Eg : SO)
Create two user fields in to the table ORDR (SO)
Eg:Hour and Minutes
Add this Transaction Notification in You are data base
---Transaction Notification For alert
IF (@object_type=N'17') AND (@transaction_type = N'A' or @transaction_type = N'U')
Begin
update ORDR set
U_Hour=(select case when ((select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),16,2)))='59'
and (select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),13,2)))='12')
then
(select convert(int ,01))
else
(case when
((select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),16,2)))='59'
and (select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),13,2)))<>'12')
then
(select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),13,2))+1)
else
(select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),13,2)))
end)
End
U_Minutes=(select case when (select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),16,2)))='59'
then
(select convert(int ,00))
else
(select convert(int ,substring(convert(varchar,CURRENT_TIMESTAMP),16,2))+1)
end)
where DocEntry=@list_of_cols_val_tab_del
End
---End Transaction Notification Alert
Note: Add or update event current Hour and minutes is going to update in the document
Set this Query To Query Manager
SELECT T0.[DocNum], T0.[CardCode], T0.[CardName],T0.[NumAtCard], T0.[DocDate],
T0.[DocStatus],T0.U_Hour [Hour],T0.U_Minutes [Minutes] FROM ORDR T0 INNER JOIN RDR1 T1 ON
T0.DocEntry = T1.DocEntry WHERE DATEDIFF(DD,T0.CREATEDATE,GETDATE())=0
and convert(int,T0.U_Hour)=(select substring(convert(varchar,CURRENT_TIMESTAMP),13,2))
and convert(int,T0.U_Minutes)=(select convert(int,substring(convert(varchar,CURRENT_TIMESTAMP),16,2)))
Alert Manager
Set alert for Every 1 Minutes
Result
alert will come document added after One Minutes -
How can set alert on document delete from particular folder in SharePoint 2010 ?
Its working on add and edit action thru "Alert Me" but not working on deletion.Hi S.Gautam,
From your description, you want to set up an alert on document deletion from a particular folder in a SharePoint 2010 library. Is it right?
You can open the library, and select the particular folder, then click Library->Documents->Alert Me->Set alert on this document. In the “Change Type” section, select “Items are deleted”.
Like the screenshot:
When a document from the folder is deleted, you will get an email like:
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
Document alert me not available
The Alert Me menu on a documents page is not behaving as I understood it. When I select it, it correctly has the option "Set alert on this library", which works as expected.. However, when I check a single documents and select
the icon, it does not contain the option "Set alert on this document".
any suggestions to use this feature?
Steve Feldmanup everyone: I found that the option does not appear when the document is selected from a list, which I had seen in a video clip I had seen.
But when I viewed the properties of a the document, there Alert me option does permit tagging that document for alerts.
Steve Feldman -
Dear Friends,
How to Make "Valid From" Field Non Mandatory from Documents of Record Functionality.
I am using Documents of Record to capture all the Govt. Related documents of employee in Documents of Record, In Some of the documents there is no Issue date is Mentioned, so Client wants to Make that field as non Mandatory.
Awaiting your valuable suggestions..
Regards,
Jithin DevHi user9289770,
Each document you create has a valid from date and Expiry date.
Say Work visa or Driving License, have a start/valid from date and expiry/valid to date.
You can populate these fields to easily query from the database to check when a document is expiring and take appropriate action.
You can create alerts for expiring documents and send it to a select group.
Cheers,
Vignesh -
Store expired documents in a archive.
hi all,
is it possible to move/store all the expired documents to an archived location.
and send alerts on document expiry.
its pretty urgent.
need help.
regards
hariHello Harish,
I do not believe that there is any out of the box functionality to do this. I've had to create my own application for notifying us of documents that are expired or almost expired.
Using what I've created, it wouldn't be too much more to come up with an application that relocates expired files. I am willing to share my java classes if you are interested.
We have discovered that the scheduled jobs piece doesn't work like we had hoped. We cannot schedule our own custom java applications to run. We are hopeful that there is a solution coming in the near future for this. In the mean time, we have someone manually run the jobs.
-StephenS -
Help with exporting document and generating an enumerated value error
Can anyone help me figure out why I cannot get this script to export the document and save it for the web?
I keep getting the same frustrating "Enumerated Value expected".
here is the script thus far:
* attempting to create a script to insert names automatically within photoshop cs2. Similar to the PSP.
tag = app.activeDocument;
var lee = ["Barb","Belle","Betty","Carmel","Christy","Connie",
"Debbie","Debra","Denise","Diamond","Dolceluna","Irene","Jacqui"];
//determine if active layer is a text layer or not.
if(tag.isBackground == true){
alert("this is a background layer and cannot be changed.");
else{
alert("this is the name layer.")
for(i=0;i<lee.length;i++){
tag.activeLayer.textItem.contents = lee[i];
var options = new ExportOptionsSaveForWeb();
options.format = SaveDocumentType.PNG-24;
options.interlaced = false;
options.PNG8= false;
var fName = lee[i];
var newName = fName+'-'+tag.name+'.png';
alert(newName);
//EXPORT DOCUMENT KEEPS GENERATING ENUMBERATED VALUE EXPECTED
// web.matte = MatteType.NONE;
tag.exportDocument(File(tag.path + '/' + newName),ExportType.SAVEFORWEB,options);
} // closes for loop
}// end of else statementYes the guide is misleading. It says 'For this property, only COMPUSERVEGIF, JPEG, PNG-8, PNG-24, and BMP are supported.'
It really should say 'For this property, only COMPUSERVEGIF, JPEG, PNG, and BMP are supported.'
But if you look under SaveDocumentType you will not find PNG-8 or PNG-24 listed in the values.
Maybe you are looking for
-
The phone is brand new with no data to back up, so i don't know why it's taking so long. it's been at Step 2 of 6 for over 3 hours. has anyone else run into this problem?
-
Maximun line items per CO document
Hello, Which is the maximum number of line items per CO document? Thanks,
-
Link Button in Predefined Screen
Hai Friends, I want to customize PO screen.There is added one tab named Terms and Conditions. On tht tab i had one matrix. Using CFL iam filling this Matrix. Now my aim is that in first column i want linkbutton. how to do that?? Does anyon
-
Link srw2048 and linksys 8 port gigabit smart switch linking together
Hi all, I would like to link my srw2048 in the my celler to the linksys 8port switch i have in the living room so my son can have lan parties. how would i configure this and will i need to make a crossover cable? Thanks in advance for any advice
-
WD My Cloud uploading slower than it ever has
I have had this device about 8 months now and have never once had a problem with it. It is taking forever to upload a file. I have even tried different files. It is taking an average of 45 minutes compared to the usual average of 3 minutes or less. I