Subscription mail for Repository having only Read rights?

Hi all,
       I am working on EP6 SP9.
I have configured the subscription service for the few repositories.
When I apply subscription on any document or folder for which i have Read and Write rights, I get the subscription mail notification when I make any changes in that document or folder through portal.
But a repository which opens only in read only mode, i.e. I can't make any changes through the portal:
1. I have applied subscripion for any doc or folder.
2. As I have only read only access on the repository, I make changes in that document or folder from the back end.
But the problem is: <b> I do not get any subscription mail notification after making changes in document or folder. </b>
Please help me on topic.
Thanks in Advance
Mridul Bansal

Hi Patricio,
            Perhapps that link is not woking fine, so i have pasted that code here, so please have a look at the code here,
public void received(IEvent event) {     IRecipient recipient = null;
     IResourceEvent myEvent = (IResourceEvent) event;
     IResource res = (IResource)event.getParameter();
     System.out.println("Event");
     String resname = res.getDisplayName();
     try{
     ISubscriptionManager subscriptionManager =
com.sapportals.wcm.repository.service.subscription.SubscriptionUtils.getSubscriptionManager(res);
     ISubscriptionCondition mycondition =
subscriptionManager.createSubscriptionCondition();
     mycondition.setInterval("ALWAYS");
     mycondition.setRecursionLevel("999");
     mycondition.setRidTracking
(subscriptionManager.getDefaultConditionRidTracking(res));
     ISubscription simpleSubscription =
subscriptionManager.createSubscription( res.getContext(),resname,  mycondition, res, null, recipient,  null);
     }catch (WcmException e){
          System.out.println(e);     } 
Thanks And Regards,
Mridul.

Similar Messages

  • How can i create a new user with only read rights ?

    How can i create a new user with only read rights ?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • "Edit Locally" for Repository having "Read only" rights

    hi,
        I am on EP6.0 SP9.
    When I go to
         Content Administrator --> KM Content --> Repository(having "Read Only" rights),  and click on "Context Menu" an option "Edit Locally" come there. But as the repository has "Read only" rights, I need to disable that option.
    Is there any way to do that?
    Regards
    Mridul.

    Hi Patricio,
                Perhapps that link is not woking fine, so i have pasted that code here, so please have a look at the code here,
    public void received(IEvent event) {     IRecipient recipient = null;
         IResourceEvent myEvent = (IResourceEvent) event;
         IResource res = (IResource)event.getParameter();
         System.out.println("Event");
         String resname = res.getDisplayName();
         try{
         ISubscriptionManager subscriptionManager =
    com.sapportals.wcm.repository.service.subscription.SubscriptionUtils.getSubscriptionManager(res);
         ISubscriptionCondition mycondition =
    subscriptionManager.createSubscriptionCondition();
         mycondition.setInterval("ALWAYS");
         mycondition.setRecursionLevel("999");
         mycondition.setRidTracking
    (subscriptionManager.getDefaultConditionRidTracking(res));
         ISubscription simpleSubscription =
    subscriptionManager.createSubscription( res.getContext(),resname,  mycondition, res, null, recipient,  null);
         }catch (WcmException e){
              System.out.println(e);     } 
    Thanks And Regards,
    Mridul.

  • User rights: only reading

    hello.
    I'd like to create a user with only reading rights, on all a server.
    How to create that user, because I didn't see nothing in the useradd command options?
    Thank you

    That's because it's not an option of the useradd command.
    The easy way I see for going about this is by creating a new group for this user, which isn't used for any other users.
    * The user's homedir is the only place where it'll be allowed to write, with the exception of /tmp.
    * The user can only read (or execute) all other files on the system, since it doesn't own any of these files, nor does his group.
    But this isn't even close to what you want.
    I'm curious if someone knows a real solution :)

  • User administration - read rights for customizing

    Hello,
    is there s. th. like a only-read-right for the whole customizing img or do I have to get the rights for all the different t-codes inside the img?
    Thanks a lot in advance,
    Hansi

    Hi Mark,
    s.th. like this. The point is I'm new to right management. But there must be s.th. like a profile with which I get the right to see all the transactions related to the img or not? Our admin is saying we have to specify which transactions we need exactly which is quiete annoying. Instead I need a possibility to say: "Give me read-rights for this profile" and I can look after the customizing myself... Is there a way???
    Thanks a lot.
    BR,
    Hansi

  • Reading rights for another user

    Hi,
    I have a customer request who wants to have reading rights on tables which are used in a special workspace scheme.
    He wants to compare the contents with an application he is working on.
    Is it possible to assign only reading rights on defined tables in an apex workspace?
    How can I install it?
    Thank you in advance.
    Best regards
    GibsonLP

    Hi all,
    prolem is not solved yet.
    Can anyone help, please?
    Thank you
    BR
    GibsonLP

  • No email body in mail for exchange? Nokia E52

    On my Nokia E52 i have setup mail for exchange access to gmail, but all it seems to download is the header with who its from and the subject? There isnt any mention of the email body/message at all?
    My contacts and calendar all sync properly.
    Am i missing something?  On my ipod touch it downloads the messages using the exact same account

    Curious issue, on the 22nd January 2010, I also got a system message stating ‘Mail for Exchange – Your account does not have permission to synchronise with your current settings.'  then a further message saying that the phone required a locking password etc.  This resulted in the phone being locked before it could be opened.
    I'm sure nothing changed on the local mail servers, so I wonder what has changed on the Mail For Excange settings?

  • Mail for Exchange - special characters (umlaut) in...

    Hi,
    I have several usernames with german umlaut-characters (ü, ä, ö, ß). These usernames are not able to logon within Mail for Exchange. Is there any hint?
    M4E 1.06
    E60 3.0633.09.04

    Do you mean that you can not enter the characters in the username field or that it just doesn't work when you do?
    Which language are you using the phone in? Which language is Mail for Exchange in?

  • Can you tell within the form with javascript if the file has reader rights.

    Hi
    I have an issue where I need to know at runtime if the current file has reader rights so that a link will directed them to one place or another.
    I was hoping with javascript I could check if the form has reader rights
    or
    the file name will be different for the version with reader rights so the other option is with javascript can it tell me filename of itself.
    Thanks
    Brad

    Hi,
    there is indeed a method to check usage rights.
    Here is a folder level script to check those rights.
    You should be able to use this also in a script in your form.
    LiveCycle Blog: Dateien auf Verwendungsrechte hin überprüfen//Check files for Usage Rights
    Hope this helps.

  • HT5361 I can't see right my mails. I have to double-click in my mail for reading it. Otherwise, the only think I can see, is the list of my mails. Could you help me please?

    I can't see right my mails. I have to double-click in my mail for reading it. Otherwise, the only think I can see, is the list of my mails. Could you help me please?

    Go to the right side of the list view and place your cursor over the edge until it turns into a double arrow, then click and drag to the left.
    If using the Classic layout, go to the bottom of the screen and after getting the double arrow, click and drag up.

  • Activating subscription service on a custom developed read only repository

    Hi Experts,
         We have a custom implementation of a read only KM repository manager which just expose documents, but does not have any editing functionality. Now the client wants to activate subscriptions on that repository manager. The current implementation of the manager is not sending any emails. Do you know what should be implemented by the manager in order to get the subscription service to work? We are looking for a daily notification as it is clear that because it is a read only manager there is no way to get notification for all events.
    Regards,
         Tania

    Hi,
    See the Javadoc package description com.sapportals.wcm.repository.service.subscription for:
    Detailed explanation of the API and underlying concepts
    UML diagram of interfaces
    Code sample: Creating a subscription
    https://media.sdn.sap.com/javadocs/NW04/SPS15/km/com/sapportals/wcm/repository/service/subscription/package-summary.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
    Patricio

  • TS1702 Hi,  I downloaded Wild to my Ipad and I'm having issues.  I've only read the first few chapters but at the end of each chapter the last page is duplicated for 10 pages and then it goes to the next chapter.

    I downloaded Wild to my Ipad and I'm having issues.  I've only read the first few chapters but at the end of each chapter the last page is duplicated for 10 pages and then it goes to the next chapter.

    Quit the iBooks app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Or ....Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or ... Delete the book and download it again in the purchased tab of the iBook Store, as long as you use the same Apple ID, there is no charge to download it again.

  • Subscription mail without Read Permission

    Hi,
    I have a repository to which i have subscribed Notification Service.
    For the repository i have given  read only permission and i have subscribed a few users to it who will get email notifications.
    I get email notification when a new document is created in the repository.
    All this is working fine.
    Now i have removed all the permissions for all the users who have subscribed to this folder and even then they are getting notification email when a new document is getting created in the repository.
    I want to know if this is the way it works because logically if I dont have any permission on the documents or repository i should not get any mail either irrespective of my having susbcribed to that repository.
    Can i modify the current behaviour and how?
    Regards
    Saurabh

    hi Lars,
    I am programatically asssigning permissions to documents that will be created in the repository.
    My requirement is now that only those users who will have permission on the document should get a notification mail.
    For eg.
    I have 200 documnets in my repository.
    i have 10 users.
    Now not all the the 10 users have permissions on all the 200 documents.
    So the notification mail should go to only those users who have permission on a documnet when that documnet gets created in the repository.
    i want to know how i should do this.
    is it to be done programatically or can i make some settings in the repository or else where to get the desired result.
    Regards
    Saurabh

  • HT2128 Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Luis
    Good question - and one that a lot of (business) people would like solved!
    Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
    His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
    I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
    THE GOODREADER OPTION
    1.  CREATE the document you want to send.
    2.  SAVE it to GoodReader (this will require you to buy and install the app).
    3.  Go to your email and OPEN the email thread to which you want to Reply and attach your file.
    4.  COMPOSE your Reply.
    5.  DOUBLE TAP the message.
    6.  TAP SELECT ALL. This will copy the entire email thread.
    7.  OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
    8.  At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
    9.  TAP the Export button.
    10.  TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
    11.  TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
    12.  ENTER the Recipients’ names in the TO: field of your message.
    13.  SEND your email Reply.
    The modified version (= when composing a new message rather than a reply):
    1 Make sure that the doc you want to attach is saved in GoodReader
    2 In the message you are composing, double tap, select all, and then copy.
    3 Open GoodReader and select the file you want to attach
    4 Select the export button at the bottom of screen
    5 Select e-mail file
    6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
    7 Rename your message (as by default it will be Mail with GoodReader attachments)
    8 Add the recipient's address in the To field.
    Hope this helps! All thanks to Scott for this workaround.

  • Attaching all PDFs in one mail? Having only one Body

    Dear All,
    I managed to develop a code which enable me to send a mail for each selected line in my table. The problem is it send to me for each line  a separate E-mail "each line has a PDF ". I just want to send only one mail for all PDFs attachments.
    Code:
    foreach (vw_CustLedgerEntryItem1 item in _ItemsList.SelectedItems)
    //you would normally process each row
    //but here we're just concatenating the properties as
    //proof that we are processing the selected rows
    //vw_CustLedgerEntryItem1 entryItem = this.vw_CustLedgerEntry.SelectedItem;
    InvSendbyMailRequestBody reqBody = new InvSendbyMailRequestBody(
    item.Document_No_
    , item.Report_Type
    , "DynNavHRS"
    , this.Application.User.Name.Replace(@"HRS\", "") + "@hrs.com" // HRS001
    , "Document"
    , false
    , false
    , this.vw_CustomerItem.ISO_Code // Change 7.8.2014 Bug in Email body text sprache
    , this.vw_CustomerItem.Salesperson_E_mail // Change 7.8.2014 Bug in Send E-mail
    , item.Customer_No_.ToString()
    , false
    , "XYZ"
    , false);
    InvSendbyMailRequest req = new InvSendbyMailRequest(reqBody);
    HRSReportServiceSoapClient wsHRS = new HRSReportServiceSoapClient();
    wsHRS.InvSendbyMailAsync(req);
    this.ShowMessageBox("Your email was successfully sent");
    any idea how can I send the attachment only in one mail ? My guess is that I have to take out this part out of my loop ? but its not working :(
    InvSendbyMailRequest req = new InvSendbyMailRequest(reqBody);
    HRSReportServiceSoapClient wsHRS = new HRSReportServiceSoapClient();
    wsHRS.InvSendbyMailAsync(req);
    Thanks a lot,
    Zayed

    HI Zayed,
    If you want to send an email with attachments in Lightswitch, you could consider using System.Net.Mail with
    Attachment Class. For example:
    attachment1 = pathToFirstAttachmentFile;
    attachment2 = pathToSecondAttachmentFile;
    // create and add first attachment to collection
    Attachment data = new Attachment(attachment1, MediaTypeNames.Application.Octet);
    m_MailMessage.Attachments.Add(data);
    // create and add second attachment to collection
    Attachment data2 = new Attachment(attachment2, MediaTypeNames.Application.Octet);
    m_MailMessage.Attachments.Add(data
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Vendor Master Creation  / Change workflow

    How can we have   facility of vendor master workflow.  After the vendor master gets created, unless there is an approval, no transactions to be posted.  How it can be achieved .  Pl. send some details thanks amit

  • Request for info on fatal error handling and High-Precision Timing in J2SE

    Hi Could anyone please provide me some information or some useful links on fatal error handling and High-Precision Timing Support in J2SE 5.0. Thanks

  • Imac 17" hum

    Hi, I had been away from my computer for about a week with it being switched off. When I came back from my business trip, I noticed my imac 17" had developed a low hum. I am sure it is not the fan and I have read up on it here on the discussion group

  • FCP X Locks up "restoring windows layout"

    I've only had this lovely package for 6 days and now it locks up "retoring windows layout" , yes indeed, it is looking more like Windows,can't wait for it to show up on my credit card in a couple of weeks.

  • RAC Node Addition fails with - " VIP is already in use "

    We had a two-node RAC on oracle 10gR2 with ASM. We removed the second node and now trying to add it back as the second node again. CRS and ASM got extended on to the second node but when trying to add the Db home, it gives an error in the oui : "Unab