Programmatically remove the image associated to an item

Hi all.
I am trying to delete the image associated to a Portal 10.1.4 item via PL/SQL.
Basically I need the functionality of the Edit Item Portal form that is performed clicking the little red cross (javascript:doApply('DelTitleImg')) below the image.
I have tried invoking both modify_item_post_upload or modify_item (omitting p_image_name) to no avail. For example (this is the same code I use to modify an item, so I know it works):
pv.g_iid := wwsbr_api.modify_item_post_upload(
                                p_master_item_id => pv.g_mid,
                                p_item_id        => pv.g_iid,
                                p_caid           => pv.g_pgid,
                                p_folder_id      => pv.g_fid,
                                p_region_id      => pv.g_rgid,
                                p_display_name   => pv.g_dname,
                                p_description    => pv.g_descr,
                                p_display_option => wwsbr_api.NEW_WINDOW,
                                p_addnewversion  => FALSE,
                                p_text           => pv.g_text,
                                p_url            => pv.g_url,
                                p_publish_date   => l_pdate,
                                p_expiration     => l_adate,
                                p_expire_mode    => l_expire,
                                p_attribute_id   => l_attr_id,
                                p_attribute_caid => l_attr_caid,
                                p_attribute_data_type => l_attr_data_type,
                                p_attribute_value     => l_attr_value);I get no errors, but simply the image is not removed. Is there an API I'm not aware of that should be used?
TIA for your help.
Alessandro

Hi, you release could use wwsbr_api.delete itemHi and thanks for your reply.
I'm not sure I understand, though: I don't want to delete the whole item, just the image.
According to Oracle, there's no supported API to do that at the moment (filed an ER) so I'll probably have to delete / recreate the item: were you referring to that kind of solution?
Alessandro

Similar Messages

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How to remove the "Image Mask" labels under the effects tab in the Inspector window

    I'm still trying to find my way round Final Cut Pro X after using Final Cut Express for many years. I don't know how I have manage to finish up with two Image Masks being set under the effects tab in the Inspector window. The Image Mask effects are not active (the box adjacent to the label is not blue) How can I remove the Image Mask label from the Effects tab in the Inspector window?
    Thanks JohnH

    JohnHutchinson wrote:
    … How can I remove the Image Mask label from the Effects tab in the Inspector window?
    just click onto the grey bar and…
    … and hit 'delete'/back-space key.-

  • My RGB colors are turning to cmyk while bringing image from illustrator or photoshop. Why?  Removing the image from that page bright RGB colors are back.. hmm

    My RGB colors are turning to cmyk while bringing image from illustrator or photoshop. Why? 
    Removing the image from that page bright RGB colors are back.. hmm

    Edit > Transparency Blend Space > Document RGB

  • When I put in a DVD, the mac locks up, an image from the DVD stays on the screen even when the dvd is removed.  The only way to remove the image if to do a hard shutdown.

    When I put in a DVD, the mac locks up, an image from the DVD stays on the screen even when the dvd is removed.  The only way to remove the image if to do a hard shutdown.
    Is the hardware corrupt?

    Could you be a little more descriptive, does this happen with all DVDs? Please describe the type of DVDs you are attempting to use, commercial movies, blank DVDs, etc...

  • SSRS programmatically remove the unattended execution account

    Hi,
    Is there a way to programmatically remove the SSRS unattended execution account?
    In the
    Configuring the Unattended Execution Account article, the "How to Delete the Unattended Report Processing Account" section only list a manual step to do so.
    I also didn't find any terms that I could use with the rsconfig utility to do so, see
    rsconfig Utility.
    Thanks,
    Emmanuel

    Hi Emmanuel,
    When we set the account in SSRS, it will add specify Encrypted characters in the RSreportserver.config file. If we want to programmatically remove the SSRS unattended execution account, we need find a way to delete the corresponding Encrypted characters
    in the RSreportserver.config file.
    Based on my test, I cannot programmatically remove the Encrypted characters. As per my understanding, delete the unattended report processing account is a simple step in SSRS. The manual steps may be simpler than programmatically remove the account.
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • How do I remove the acronym tags from menu items in Business Catalyst?

    Hello, can anybody answer this for me please? Not having any success googling or foruming it so far.
    How do I remove the acronym tags from menu items in Business Catalyst? 
    Thanks in advance
    Grant

    These are titles and in the dynamic menu will be the item description per item.
    These are actually important though and you do not really want to remove them but make them better and reword them other then the same as the link test. These are good for the user experience as well as SEO. A bot knowing a description of a link and where it is going coupled with the URL's and the title of an anchor are all important aspects of your sites SEO.

  • Image instead of List Name, and hyperlink the image to view 'All Items.aspx' page

    Hi,
    I would like remove the Page title for list (i.e., name of the list in view all items.aspx page) , and instead use image and hyperlink the image
    to 'All items.aspx" page.
    Using developer tool found the element (#PageTitle) and added 'Script Editor' webpart and below css script to it. I am successful in replace the
    title to image, however, I am unable to add the HTML tag for hyperlink. Where do I need to add or how do I add? Could anyone help me please??
    <style type="text/css">
    #pageTitle
    background-image: url('http://w2k81368:2116/SiteAssets/Test.jpg');
    background-repeat:no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    </style>
    Regards,
    Sunitha

    Hi Sunitha,
    According to your description, my understanding is that you want to change the list title to an image.
    I recommend to add the code below to the list page:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function (){
    var s = "<img alt='SP' src='http://w2k81368:2116/SiteAssets/Test.jpg'>";
    var $t = $("#DeltaPlaceHolderPageTitleInTitleArea span span a");
    $t.html(s);
    </script>
    After that, the list title will change to the image and it will show allitems.aspx page when clicking the image.
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • How can I remove the image from an OCR/Image PDF?

    I have some scanned PDFs which have perfect rendering via OCR.  Every word is in the proper place. To make the file size smaller and the text clearer, I would like to remove or detach the image overlay.  How can this be done?  The files are over 90% images in size.
    This is with Acrobat Pro 9 on OS X Snow Leopard, but I assume the technique is independent.
    Thanks for your help.

    No.

  • Removing the Image Hyperlink Border

    Dear Dreamweaver forums and fellow members of it,
    I'm currenty creating a web page in which some images are
    linked to different pages but are positioned together as one.
    Whenever I create the links, a hyperlink-colored border appears
    around the image, which breaks the illusion of one picture.
    Is there a code (either inside the IMG or A tags or part of a
    CSS) that removes the hyperlink borders?

    a img { border:none; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DanMat6288" <[email protected]> wrote in
    message
    news:gn9ltf$7gv$[email protected]..
    > Dear Dreamweaver forums and fellow members of it,
    >
    > I'm currenty creating a web page in which some images
    are linked to
    > different
    > pages but are positioned together as one. Whenever I
    create the links, a
    > hyperlink-colored border appears around the image, which
    breaks the
    > illusion of
    > one picture.
    >
    > Is there a code (either inside the IMG or A tags or part
    of a CSS) that
    > removes the hyperlink borders?
    >

  • How to programmatically remove the reference to a VI within a project...

    Big picture of what I'm after is to go through a massive project and remove unused VIs.  I've got a way to programmatically go through and find all unused VIs and can them delete them from my machine.  But I'd like to also remove the reference to them in the project.  Anyone aware of how to go about this?
    Thanks!

    LV8.5's project explorer introduces a new setting for the folders : Snapshot or Auto-populating. The project will be refreshed automatically according to the content of an auto-populating folder.
    The behaviour of a folder is shown by its icon and it is possible to change it at any time.
    See this document for more details.
    Message Edité par JB le 02-22-2008 09:11 AM
    Attachments:
    Add folder to project.jpg ‏46 KB
    Convert.jpg ‏69 KB

  • Quick question - JButton containing an Image - removing the Images border?

    Hi, I have a JButton with an image inside it.
    I would like the JButton to have a border, but not the image when it is clicked.
    It currently looks like this - here
    As you can see, there are two borders (this is once the button has been clicked).
    The one around the JButton is the one I wish to keep, the one around the ImageIcon is the one I would like removed.
    I am sure there is a simple way to do this - I'm sure I have managed it before.
    part of the code used to create:
    JButton money = new JButton();
    money.setBackground(buttonColor);
    money.setIcon(new ImageIcon ("money.gif");

    That thin blue box is indicating the button has focus. It appears even if the button just shows text and has no icon. Here is an example where I get rid of it on btn1 but not btn2.
    And in the future, please post Swing questions to the Swing forum.
    import java.awt.*;
    import javax.swing.*;
    public class ButtonExample {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    new ButtonExample().launch();
        void launch() {
            JPanel cp = new JPanel();
            JButton btn1 = new JButton("button 1");
            btn1.setFocusPainted(false);
            JButton btn2 = new JButton("button 2");
            cp.add(btn1);
            cp.add(btn2);
            JFrame frame = new JFrame("ButtonExample");
            frame.setContentPane(cp);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
    }

  • How to Remove the Cloud Association?

    I work for an enterprise that uses single licenses for Adobe Acrobat XI.  One of my customers associated her personal cloud ID with her enterprise license.  She decided that she did not want to extend her cloud account, and now, when she launches a .pdf, it prompts her to renew her subscription. 
    I have had a chat with the mostly useless people who forced me to create an account, to try to associate a license with it, but that is not what I want.  I need to completely remove the association of the cloud from the users machine, so that she can open a .pdf and have it actually open in the software that the company has paid for.
    Neither she nor I want to have it even remotely touch the cloud any more.
    I am looking for a registry key that I can delete or turn off, so that it stops associating with the cloud, so that she can use Acrobat when not connected to the internet.

    If this is something that has occurred recently it should be easy to sort out just unlink the device and revert to the previous version of bookmarks by using the restore option in the bookmarks library. With luck all you will loose is the last set of bookmarks added.
    *[[How do I set up Firefox Sync?#w_remove-a-device-from-firefox-sync_2]]'''_remove-a-device-from-firefox-sync_2'''
    * See [[Restore bookmarks from backup or move them to another computer]]
    I always try to remind people using sync
    * Sync only merges bookmarks now, it will not permit unidirectional syncing. For instance you cannot sync from a phone and just add those bookmarks to a computer, Sync will fill the phone with the desktop's bookmarks.
    *It is wise to backup bookmarks manually if bookmarks are being synced.
    My recommendation of caution and backing up of bookmarks is not aimed at those who inadvertently add a device. It is aimed at those who become over reliant on Sync.
    Occasionally; especially on slow connections or if there are many bookmarks changes; Sync throws a wobbly and corrupts or duplicates bookmarks. Without manual backups, these situations become almost impossible to sort out, by the time they are reported.

  • How do you remove the borders from a table item

    In OAF I have a set of data stored in a table that I must display. However, I must make it look like it is not in a table. I can't use a tablelayout because it is a set of records and records are constantly being added. How do I remove the borders and the pagination from the table?

    I think you can't do anything about this.
    Change you design as per Browser Look and Feel standards.
    http://www.oracle.com/technology/tech/blaf/index.html
    --Prasanna                                                                                                                                                                                                                                                                                                                                                       

  • Remove the existing value in Search item for FK02

    Hi,
    How to remove the current field value in the serach item1 for the transaction fk02, and want to insert a value in number of records.
    Thanks in advance .
    Viji.

    Hi,
    Do it using BDC recording of FK02.
    Regards,
    Sujeet

Maybe you are looking for

  • How can i get an older version of Ibooks for my Ipad 1?

    how can i get an older version of Ibooks for my Ipad 1? Since I have Ibooks 3.0.2 I can't start Ibooks on my Ipad1.

  • Burning CDs in sesions

    I have an iMac with Leopard 10.5.8 and have suddenly realised I don't know how to burn sessions on CDs. On my earlier machines, eMac and G3s I always used Toast to burn my disks which had an option for sessions. The software built into the iMac does

  • Inexplicably, some of my music has disappeared from my itunes library.

    The second half of a soundtrack is there, but the first half is missing. I haven't added anything new recently (other than updating itunes), just noticed when I went to play the soundtrack tonight. The whole album is still in my music file on the har

  • Classic environment issues

    I recently reinstalled my IMac to version 10.6.6 which resulted in me having problems with the photoshop on the system. It would eventually open but often asked me to reinstall. I eventually deleted my photoshop programme and began reinstalling. I ha

  • SMB ACL Problem

    We have this problem that came up sense we upgraded our servers to Leopard. When Windows users are accessing files (over SMB), the POSIX permissions seem to override the ACLs. This is a problem because applications like Excel will change the permissi