4 Replies Latest reply: Feb 18, 2014 12:28 AM by Anand U RSS

    Accessing Attachment in WCC

    1037987

          Hi,,

         

          Oracle WCCC: 11.1.1.8

          Oracle DB 11g

         

          I've created content item 'X' of asset type PDF in my WCC repository and ve attached image to that content item, via Add attachment option.

         

          I've linked  content item 'X' in my portal(Oracle Portal).

          When i click on link PDF get downloaded, expected behavior.

         

          I would like to know how to access image attached to same Content Item.

         

          Thanks

        • 1. Re: Accessing Attachment in WCC
          Jiri.Machotka-Oracle

          From the portal GUI, attachments attached via Add attachment are most likely not accessible. You'll have to use WCC GUI.

          • 2. Re: Accessing Attachment in WCC
            1037987

            Thanks Jiri!!!

             

            I would like to know, what would be the use of attaching an asset to the content item, when we can't access it.

             

            Thanks

            • 3. Re: Accessing Attachment in WCC
              Jiri.Machotka-Oracle

              Your sigh is imprecise in two details:

              - it is not accessible from portal GUI

              - it is not accessible if you use attachments added via Add attachment (utilizes the ZipRenditions component)

               

              ZipRenditions' attachments are auxiliary files attached to the main content item. They have no metadata, cannot be searched for, but they might have some information value added to the main item - imagine a use case, when a contract is the main item, and a scanned ID card is added to it.There are other means how to create an attachment - see this thread: Re: How to push bunch of content items together in workflow

               

              However, this is all WCC-side. Portal has its own linking, invisible to WCC. If you mean WebCenter Portal, in there you can create a link not only between documents, but between any two objects (announcements, discussions, documents, tasks, ...). On the other hand, some WCC features, such as ZipRenditions' attachments might not be available in the standard GUI (you could use them, but this would require customization of portal's task flows to expose more WCC's services).

               

              Therefore, I'd recommend to change your implementation design: create both the main item and its attachments as "normal items" and link them using the portal's links.

              • 4. Re: Accessing Attachment in WCC
                Anand U

                Hi,

                 

                You could get the file either using the following URL format or by calling the GET_FILE service using the &Rendition parameter

                URL - http://<Host Name>:16200/cs/idcplg?IdcService=GET_FILE&dID=1111&dDocName=TESTDOCUMENT&Rendition=<Rendition Name of The Attachement File>&allowInterrupt=1

                 

                HTH

                - Anand