Regarding attachments in the notifications

Hello all,
I was following the document http://apps2fusion.com/apps/workflows/22-send-binary-attachments-with-notifications-in-workflow for the attachments in notifications.
We have a procedure named
PROCEDURE xx_notif_attach_procedure
document_id IN VARCHAR2
,display_type IN VARCHAR2
,document IN OUT BLOB
,document_type IN OUT VARCHAR2
While calling this procedure as below, we are passing only one parameter when we are supposed to pass all the 4 parameters.
wf_engine.setitemattrdocument
(itemtype=>'XG4GWFIT'
, itemkey=>'XG4GWFIT' || l_item_key
, aname=>'XX_G4G_ATTACHMENT1'
, documentid =>'PLSQLBLOB:xx_g4g_package.xx_notif_attach_procedure/' || to_char(l_file_id));
If anyone has used that document as reference, please advice.
Thanks
KK

The PL/SQL procedure that generates a PL/SQL CLOB document must have the following standard API:
procedure <procedure name>
(document_id in varchar2,
display_type in varchar2,
document in out nocopy clob,
document_type in out nocopy varchar2)
Now, you wonder why there are four arguments in this procedure where as we pass only one, isn't it. Here is the answer for this:
The workflow engine actually calls the procedure mentioned passing the required arguments.
1. document_id: A string that uniquely identifies the document. This is the same number which you pass as to_char(l_file_id) in the example provided by you.
2. display_type: This is the content type used for notification representation. Eg. text/plain, text/html etc.
3. document: The outbound LOB locator pointing to where the document text is stored. This locator is a temporary LOB locator, so you must write your document text to this locator rather
than replacing its value.
4. document_type: The outbound text buffer where the document content type is returned. Also referred to as the returned type. If no type is supplied, then 'text/plain' is assumed. For a PDF or RTF document, this argument should specify an appropriate Multi-purpose Internet Mail Extension (MIME) type, such as 'application/pdf' or 'application/rtf'.
Hope that helps !
Cheers,
Dilbagh

Similar Messages

  • How to include attachments to the standard PO approval notifications attachments.zip file?

    Hi,
    Oracle EBS 12.0.6 and 12.1.3
    Following the ML Note Adding an Attachments Table Using Personalization [ID 790344.1], I have added an attachments table to the PO Supplier Change Request page. I am able to upload attachments and can see them in the tables. How can I include these attachments in the workflow notifications? When the notifications are received, PO pdf is attached and an attachments.zip file is included with other attachments but not the ones that I have uploaded using the new attachments table.
    To find how Oracle is able to attach files to a single zip file, I searched for "ZIP_ATTACHMENT" keyword in dba_source table and found it is being done in the APPS.PO_COMMUNICATION_PVT.GENERATE_PDF_BUYER package procedure.  Do I have to modify this procedure or is there a less invasive way, which is upgrade proof too?
    Thanks.

    Hi,
    Oracle EBS 12.0.6 and 12.1.3
    Following the ML Note Adding an Attachments Table Using Personalization [ID 790344.1], I have added an attachments table to the PO Supplier Change Request page. I am able to upload attachments and can see them in the tables. How can I include these attachments in the workflow notifications? When the notifications are received, PO pdf is attached and an attachments.zip file is included with other attachments but not the ones that I have uploaded using the new attachments table.
    To find how Oracle is able to attach files to a single zip file, I searched for "ZIP_ATTACHMENT" keyword in dba_source table and found it is being done in the APPS.PO_COMMUNICATION_PVT.GENERATE_PDF_BUYER package procedure.  Do I have to modify this procedure or is there a less invasive way, which is upgrade proof too?
    Thanks.

  • Query regarding the error in the notification message put up by iOS??

    1. Turn off Wifi and 3G network on iPhone iOS5
    2. Launch the iTunes.
    3. Cellular Data is Turned Off message is put up with Settings and OK buttons instead of ------>  OK and Settings buttons.
    Apple users are consistent with say Cancel and Retry (options) in the notifications instead of Retry and Cancel.
    So my assumptions from the various notifications message put up on iPhones, it should be ( Do nothing ) and ( Action button ) in the notification messages.
    Is it OK to keep the same notification while designing the app to maintain this (above - do nothing and action button) consistency or just follow the apple notification as below. Please HELP!
    Cellular

    You should be using HTML Markup if you want to put new lines in eg
    OofSettings oof = service.GetUserOofSettings("[email protected]");
    oof.ExternalReply = "test line 1<br>test line 2<br>test line3";
    oof.State = OofState.Enabled;
    service.SetUserOofSettings("[email protected]", oof);
    Cheers
    Glen

  • Multiple attachments in Workflow Notification

    Hi All,
    We are trying to attach multiple(Two) files to the workflow notification. We are able to get the two attachments. But the problem is in the notification from front end both the attachments are opening the same file, where as the attachments in the outlook are showing different contents and the file name is same for both the attachments.
    Please can anyone help us in this. This is very urgent requirment.
    Thanks,
    Varun

    Hi Jubish/Venkat
    1. I iterated this fucntion moudule to store the multiple attachments to the workflow
       SAP_WAPI_ATTACHMENT_ADD
    2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments).  SAP_WAPI_GET_ATTACHMENTS
    from above you will get objkey for each attachment as output in table.
    3. Pass the  objkey to this FM to get the contents
    SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content,   contents_hex.
    4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
    Best Regards,
    Chandran S

  • Attachments on Email Notification

    How can I see the attached files on the email notifications?
    I would like to see the word document the user attaches to our online resume form in the email it sends me once the form is submitted.  I would like to be able to do this without loggin into the site.
    Can you help?

    Sorry, we don't currently support direct access to file attachments in email notifications.
    Regards,
    Brian

  • Not getting all the notifications to the Mobile Device

    Hi All,
    We are not able to get all the notifications that are assigned to the mobile device. Only part of the notifications are downloading to mobile device. I can see using MAM30_011_GETLIST there are 195 notifications assigned to that device. Out of 195, I can able to see only 97 notifications on the device.
    I debugged and found that whenever I am creating a notifications using some functional locations either from the backend or using mobile device that never get downloaded to mobile device.
    Please through some light on this issue I would be grateful to you.We are using Server Driven Functionality.
    MAM version is MAM30 SR05.
    Regards,
    Scott.

    Hi,
    The reason is very simple here. Some of the notifications are referring to technical objects(equipment/functional location) which are actaully not present on the middleware. So when a user request for data from the client to the  middleware, because there is a reference from notification to technical objects, middleware will only send those notifications whose all references are actually present on the middleware.
    So the way to check if all the technical objects are present in the middleware or not, you can do the following:
    1. First check the no. of entries for both equipment and functional location in the middleware.
    2. Then later go to the backend, as yours is server driven, then i would say go to variant of technical objects, execute the variant and make a note of the no. of entries it gives.
    3. Verify if both middleware and backend gives same no. of entries.
    If no, then try to correct the replication and then do a sync from the client.
    If yes,  then what I see is, even though you have all technical objects selected as a part of variant, there are still some notifications with technical objects which are not a part of technical objects selection in the above variant.
    So, try to change the variant for technical objects to get more no. of technical objects which covers all the technical objects that might be a part of your notifications.
    Hope this solves your problem.
    Thanks & Best Regards,
    Siva.

  • How to clean the Notification iView items

    Hi,
    I´m trying to cleen the notification iView Items and there is a clear link but I click on it and it is not working, is thera a way for doing this?
    Thanx in Advanced!
    Kind Regsrds,
    Gerardo J

    Hi Again,
    Wont this make my iView Refresh in a period of time?(maybe I´m wrong)
    The need is to delete the items that are been displayed in the Notifications iView, cause some of them are old or even had been deleted.
    Thanx Alot!
    Kind Regards,
    Gerardo J

  • Error while genrating/creating the notification through HR portal system.

    Hello All,
    I am trying to check a PCR/OCR Notification but it seems Notification does not exist.
    The notification number is not there in VIQMEL table.
    VIQMEL takes reference of 3 tables - QMEL, QMIH and ILOA.
    I checked QMIH table for this notification and found a field ILOAN. The ILOAN number given in table QMIH is not there in ILOA table.
    Can you explain what could be the possible reason of empty ILOAN field?
    Also if you could explain the significance of field ILOAN and how this number is generated?
    My findings:
    In the FM "IQS4_CREATE_NOTIFICATION"  at line no 198 there is perform statement as "PERFORM POST_NOTIFICATION_F20 "note 569563"
    In the perform statement FM "IQS1_POST_NOTIFICATION" is getting called. In this Fm at line no 87 ABAP statement is as "COMMIT WORK AND WAIT."
    We have checked in Development system when this commit is executed one entry for respected notification is getting created in table/view "VIQMEL". But in Quality system after this commit no entry is getting created in this table. I am not able to find reason.
    Regards,
    Amit Taur

    Hi,
    Could you let me know the solution to this?  I'm experiencing the exact same issue.  It happens in QA and not Development as well.
    Thank you,
    Kevin

  • Meeting invites no longer show in the notifications pane of iCal

    I have been using Snow Leopard since it was released to the public and after a recent update I noticed that I could never see the Exchange meeting invites in the notifications pane. When I looked closer I saw that all the meeting invites were automatically added to the calendar, but they were colored grey (indicating that I had not yet accepted them).
    I have searched the web for a solution, but there was just one entry of a similar problem, no solution though. I backed up the plist files for iCal and deleted the ones in System-Winson-Library-Prefrences
    as well as the Cache entries for iCal.
    Restarted iCal and got a colleague to send another meeting invite to my Microsoft Exchange Calendar. And the issue was still there.
    There is no issue though with my iPhone which syncs with the same Exchange Calendar. I get to see the event notification.
    I am totally lost and would appreciate help in this regard. This has been driving me bonkers all week!

    Looks like 10.6.3 update solves this
    iCal fixes provided for:
    changing the invitation list for a single instance of a recurring event will no longer "un-book" the location of the meeting.
    an issue in which new invitations on a Microsoft Exchange server might not appear in the Notification pane.
    properly showing recurring Microsoft Exchange events which have a set end date. For details, see this article.

  • 3rd party app alerts no longer show up in the notification center

    I upgraded my iPhone 5 to iOS7 last week and ever since alerts for 3rd party apps (like gmail and others) haven't been showing up in the notification center.  I've checked my settings for both the notification center and for my individual apps to make sure they weren't reset, made sure my apps were up to date (not all of them have had updates since iOS7 was released but some definitely have), tried toggling them on and off and rebooting, but so far nothing has helped.  The banner alerts work, but nothing pops up in the notifications.  Has anyone else experienced this or have any other ideas how to fix it?
    I've generally been pretty pleased with the new version of iOS, but I'm hating everything about the changes made to the notification center.  Even if I do get my notifications to work again, I hate that we're forced to have that "Today" tab even if you switch the summaries off!  I like the unified page from iOS6 much better.

    Hi cyn999!
    I have an article that can help address this question:
    iOS: Understanding notifications
    http://support.apple.com/kb/HT3576
    As you can see in the screenshot, the weather does show up in the notification center, but it is in text form instead of icon form in iOS 7. Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • How to send concurrent program output file as an attachment in the notification mail

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

  • How to perform click action on the notification received in windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight app , I added push notification service to my app and I am able to receive notifications . 
    My question is when the app is not opened and the notification is received , if the user clicks on the notification it is directly taking to the app ,
    but I want to redirect it to a specific page in my app How is it possible?
    Any help..
    Thanks..
    Suresh.M

    Thanks for your information
    but where to write the rootframe.urimapper  , I think it is in app.xaml.cs , If I write urimapper , how do I know I am navigating from notificaition?
    Suresh.M
    Why you need to know it is from notification? If you must need to know this, try to check deep link
    Best Regards,
    Please remember to mark the replies as answers if they help

  • Regd attachments to a notification

    Hi All,
    We have 2 scenarios,
    1. Based on the notification number (QMNUM) entered by the user, we have to fetch the attached file names, its corresponding document ID & MIME type. I used the FM BDS_GOS_CONNECTIONS_GET. This FM gives the file name & document ID, but not the MIME type. So how can I obtain MIME type too?
    2. Based on the document ID obtained in the 1st scenario, we have to read the content of the attachment into an internal table. I tried the Function module SO_DOCUMENT_VIEW_MANAGER. But using this FM, we can only view the document, but our requirement is to read the content of the document into an internal table.
    Any inputs to achieve the above said requirements is highly appreciated.
    Regards
    Sayee

    As far as I know, not with just the free Reader.

  • Possible to print PO file attachments on the PO report? (R12)

    Hi All,
    Metalink Note:436308.1 (Do Text File Attached To Purchase Order Print on Purchase Order Report?) promises that functionality for printing PO file attachments on the PO report would be available in R12.
    Does anyone know if this functionality has been implemented, and if so, where is it documented? I have been looking but not finding. Grateful for your help, as always.
    Best Regards, Matilda Smeds

    Nagmohan, Matilda:
    The attachment documents with category "To Supplier" are being emailed .... but I cannot see the PO+Contract terms in the attachments on I-Supplier. I can see the PO+Contract terms in the View PDf functionality.
    When there are no attachment documents, I see the PO+Contract terms in the attachments as well as the View PDF. Why is this ?
    Is there anything else that needs to be setup here ?
    Yesh

  • Report to find the WBS aganist the Notification

    Hi gurus
    In Service Notification We maintained the WBS element in location tab.  I want the report when I can find the WBS aganist the notification.
    In IW59 I cant find this selection, Please let me know any workaround to check this
    regards
    Krishn

    Krishna,
    I assume every notification will turn to an service order and WBS element will automatically inherit to order  from notification in location tab. In this way, you could easily track the WBS elements against notification number. If you dont create an order and you want to find only with the notification, then its not possible.
    Please be polite and frame the words properly....as you are placing the request
    Mahee
    Edited by: maheee on Feb 23, 2011 5:00 PM
    Edited by: maheee on Feb 23, 2011 5:03 PM

Maybe you are looking for

  • Using Airport and Ethernet at the same time

    I know that variations of this question have been posted already, but I think my problem is slightly different. In our studio we have a printer connected to our Macs via a wired Ethernet LAN. We access the internet via Airport using a seperate Mac (n

  • How to get CDC-HI commercial license info ?

    Hi, I need to add SSL support to PhoneME CDC+FP1.1 (MR2) on an embedded target device. From other google results, seems the way to do this is to acquire CDC-Hi commercial license, so I can access SECOP (security option) source code (which is not open

  • Huge price variance in Material Ledger

    Dear Gurus, In our case the standard cost of one Finished goods is released with the price of Rs.10 but later on the cost of one of the Raw material is changed to Rs.1200.  Without releasing the standard cost (as it cannot be released for more than o

  • Where do I get version 3.4

    I have to admit that I do feel rather stupid right now, but I knew that I used favorites in Adobe (Community) Help before, and this was one thing that made the Adobe help system somewhat bearable. But I had to upgrade to a new computer (hardware prob

  • FYI - Apple link to RAMJET offers decent 1 GB SO-DIMM price

    I've been buying RAM from RAMJET these days as it is linked to from Apple's web site at http://guide.apple.com/index.lasso and when at the RAMJET site the PB 17" 1 Gig DDR2 SO-DIMM is selling for $94. This is a sudden price drop from $117 only last w