How to Delete document from Item but not Item itself

Hello
I'm working on Oracle Portal (10g)
I'm thinking about one problem:
- how to physically remove document form the Oralce repository using PL/SQL
Does removing row from WWDOC_DOCUMENT$ remove file from hard disk (some
trigers on Delete?).
BTW:
There is one strange (for me ;) ) behavior: I create an item with atached
file (file item) what happent:
- in table WWDOC_DOCUMENT$ is new row for new file created.
- in table WWV_THINGS$ is new row for new item created
Now I would like to remove file but not item (still using PL/SQL).
I use function for example:
PORTAL.Wwdoc_Api.remove_document('101801.BMP');
This function remove path id and filename but not whole file row itself (but
this is less problem). And othere more important problem: after
PORTAL.Wwdoc_Api.remove_document called there is still in item rows pointer
to just deleted file in fields: FILENAME and VALUE.
I would like to set this fileds to null. - in othere way there is exception
durring page deletion (no document found).
I use:
update portal.wwv_things p1
set
p1.FILENAME = null,
p1.VALUE = null
where p1.ITEMTYPE like 'basetext'
and p1.LANGUAGE = wwctx_api.get_nls_language
and p1.SITEID = pagegroupID
and p1.CORNERID = pageID
and p1.filename like '101801.BMP' ;
But this seems to not work at all.
Any body else had some problems like me?
How it was solved.
BTW: I work with item versioning.
BIG THANKS YOU FOR ANY HELP

You can try my new DeDupe script. It should be able to get rid of the redundant copies while keeping one copy of each track in each format. See this thread for background.
I've not used the feature, but iTunes can downsample to 128k AAC on the fly as it syncs your devices. Of course you might find the process is too slow for your needs or find that 128k is too much compression.
tt2

Similar Messages

  • How do I delete document from ipad but not iCloud?

    I looked at the help on the iCloud page where I can log in from my mac. It says I can delete a document off my ipad but not the cloud by going in to settings and selecting the file in there. All I can find is a toggle switch to turn iCloud on/off for pages. I can't find access to individual documents there.

    Ok tried again, figured it out.
    Apple, wouldn't it be easier for the user to have a check box in pages/numbers/keynote on the thumbnail of each document for
    Store local only
    Store iCloud only

  • How to delete duplicates from iTunes but not hard drive

    I'm running iTunes 10 and have my music stored on both my NAS drive and backup drive.  Each track appears twice on iTunes: once as lossless for streaming and and once as compressed AAC files for synching to ipods and iphones.
    For some reason, when my PC is turned on after being turned on, the linkstation cannon be 'seen' by iTunes, and therefore if I try to play a track, 'the original file cannot be found'.  If I use the 'add folder to library' option in the 'file' dropdown menu, the tracks are located again.
    Unfortunately, I the last time I did this it resulted in 4 copies of each song on itunes; 2 lossless and 2 AAC.
    I have 2 questions:
    Firstly is there an easy way to delete the duplicates from my iTunes library so that I am left with only 1 lossless and one AAC copy, but not deleing the files from my NAS and backup drive?
    Is there a way I can just store my music as lossless, but convert it easily to aa more compressed format for synching to iphone and ipod?
    Thanks!

    You can try my new DeDupe script. It should be able to get rid of the redundant copies while keeping one copy of each track in each format. See this thread for background.
    I've not used the feature, but iTunes can downsample to 128k AAC on the fly as it syncs your devices. Of course you might find the process is too slow for your needs or find that 128k is too much compression.
    tt2

  • How to delete photos from iPhone but not iPhoto?

    iPhone 5S on iOS 8.1.2 with over 6,000 pictures, brand new Macbook Pro on 10.10.1 Yosemite. All my photos are synched to iPhoto, and I want to delete the photos from my iPhone to clear up storage. My main concern is not losing the photos in iPhoto the next time I plug my phone in. Half the things I researched say it'll delete them, other half says they won't. I just want to have a clear iPhone and be able to view my pictures on my Macbook. How do I go about this without wiping my Mac clean?

    As I know, it won't delete the photos in iPhoto, but you can backup these photos on Mac to avoid any accident.
    you can transfer Photos from iPhone to Mac with Image Capture
    Connect your iPhone to Mac with USB cable > Run Image Capture on your Mac > Select your iPhone from the device list if it is not selected > Set the output folder for your iPhone photos > Click Import or Import all to transfer photos from iPhone to Mac.
    BTW, you can also try to delete only one photos on iPhone first and see if it will  disappeare on iPhoto to know what to to next.

  • How to delete mail from mac but NOT from gmail server?

    Hi I have around 6GB of space used up by the mail app. I never really use it anymore though, favouring the gmail website. I can't work out how to clear out the mail app and free up that space, without also deleting the emails from the gmail server. Can anybody help?
    Thanks
    Jonathan

    Hello Jhughes1986,
    If you are not using the mail account in the Mail app, then remove it from Mail. When in Mail, go to the drop down menu Mail > Preferences, select the Account tab, select your Gmail account and then hit the Minus ( - ) button towards the bottom to remove the account. 
    Mail (Mavericks): Remove mail accounts
    http://support.apple.com/kb/PH14944
    Regards,
    -Norm G. 

  • Delete Apps from MacBook but not from iPhone

    How can I delete Apps from iTunes but not from iPhone 3GS when I Sync them? The moment I delete the Apps from iTunes and then sync iPhone, iPhone deletes them as well.
    Please assist.

    If you intend to ever sync your phone with your Macbook then you can't delete the app from your Macbook, otherwise the apps will also delete from your iPhone (as you've discovered).

  • I see how to delete songs from iPad, but there are some that won't give me the option to delete when I swipe it. Why won't it let me?

    I see how to delete songs from iPad, but there are some songs that don't give me the option to delete when I swipe them. Why can't I get rid of these songs?

    Do they have a cloud icon next to them? If they do, they aren't on the iPad so you can't delete them. They are in iCloud ready for you to download them if you want to and they are visible in the music app for this purpose.
    If you don't want to see these songs that are in iCloud, go to Settings> iTunes & App Store>Show all>Music>Off.

  • How can I delete photos from iPad but not iCloud?

    Before setting up iCloud, my girlfriend downloaded photos from her camera to her iPad.  We now have iCloud set up, but the photos on her iPad remain in the "Photos" album instead of Photo Stream.  I would like to delete the photos from the iPad to free up storage space, and move them to the Macbook.  I'm guessing that I would need to somehow move them to Photo Stream then delete the old album where they were stored on the iPad...  Any ideas?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • Delete contacts from icloud, but not from iphone

    I want to delete all my contacts and calendar appointments from iCloud, but not from my iphone, and i still want to have iCloud turned on in the future.
    I have tried to delete the iCloud account from my iphone but when i log in to iCloud.com from a computer the contacts are still there even though i deleted the iCloud account.
    How do i remove these things only from iCloud?

    I fixed it, i had to turn off the syncing of the contacts and the calendar on the phone and then delete them from iCloud. Obviously if i turn on the syncing of these items again the contacts and calendar appointments will reappear in iCloud.
    So problem solved.

  • Want to delete mails from Thunderbird but not from the server?

    Hi,
    Please tell me how to configure the settings of Thunderbird so that if i delete any mail from Thunderbird that mail would be delete only from Thunderbird not from server. I'm using IMAP configuration for all my mail accounts and I'm using Thunderbird in my laptop and tablet both.
    Currently i'm using Thunderbird 24.4.0 and i just want to delete my useless mails from Thunderbird but not from the server without using pop-3 settings.
    Actually the reason for this Question arises because whenever i use to uninstall and reinstatement Thunderbird, i use to take "profiles" as a back up and its size is increasing day by day that is making a big issue to me as i cant take a back up of such a big size file.

    Imap mail accounts keep the emails on the server and you see a remote view of those emails and folders.
    When you subscribe to see a folder, the headers are downloaded, when you select an email to read, the entire folder is downloaded to a temp cache facilitating quicker access. If you synchronize folders, then a copy of that folder is downloaded to an mbox file in your profile, so that you have a copy of the server folder. When you make any changes to a synchronized folder, read an email, delete or move etc, then Thunderbird will resynchronize with the server to update the server. A synchronized folder allows you to work in 'offline' mode and this is the best time to perform a backup as you know there is a temporary stop on synchronizing as you are offline. They will resynchronize when you go back into 'online' mode.
    So, with IMAP mail accounts, the folders you see in Thunderbird are the same folders on the webmail server. If you make any changes via Thunderbird or webmail then you are changing the same folder. You cannot delete an email without deleting it from the server, they are one and the same.
    What you can do is move/copy an email into Local Folders and delete the one on the server. The Local Folders emails are kept in your Profile on your computer, these folders/emails are not on the server, unless you chose to keep a copy of them on the server.
    Pop mail accounts cannot see the folders on the server. They only access the server Inbox folder and download emails not previously downloaded to the mail account Inbox in Thunderbird. These emails are kept on your computer in your profile folder. You can select to keep a copy on the server or not. You can choose to delete emails off your computer and off the server or not.
    If the mail account is gmail , have you subscribed or even synchronized to see the 'All Mail' folder ? Gmail's all Mail folder is their Archive folder, it keeps a copy of all of your non-deleted emails. So, you do not need to subscribe to see this folder as it only shows you what you can already see in other folders. It doubles the disc space.
    Please read section on 'All Mail' at this link.
    * http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite
    You do not have to download/synchronize the entire folder. You could select to only synchronize the most recent xx days of emails.
    see info here:
    * https://support.mozilla.org/en-US/kb/imap-synchronization#w_configuring-synchronization-and-disk-space-usage

  • How can I set my Iphone 4s to delete hotmail from phone but NOT server at home?

    I can't seem to figure out how to set phone so that I can delete messages (hotmail) from phone but have them remain on server (home computer)?  I've had to recently delete and then re set my hotmail account and when I did this, I seem to have lost the ability to delete from phone and save on home computer.  thanks

    You're using an IMAP account.  Not sure if you can set up hotmail as a POP account.

  • How do I delete songs from library but not my ipod

    Hi,
    Can anyone help me.
    I want to delete songs that in my library to increase the memory on my pc, but if I de-select them, they will be deleted from my ipod.
    I want to keep all the songs in my ipod but add to them later, how do i do this.
    also, i may wish to delete songs later, but again how do i do this if i have deleted my library.
    scott.

    Welcome to Apple Discussions.
    Set iPod to manual update.
    But be warned, if something happens to your iPod later, you may risk losing your songs. Better backup your songs first before deleting them from the computer.

  • How can I delete emails from phone but not from mailbox?

    I used to have a Blackberry Torch & was able to just delete messages from my phone but they would still appear in my mailbox on my desktop.  Now with the iphone 4s when I delete from my phone it deletes everything, everywhere.

    The only way to erase it is to go to Settings>General>Reset>Erase all Content and Settings

  • Idisk app: delete file from iphone but NOT idisk?

    maybe i'm missing something but how do you delete a downloaded file from just your iphone? when i tap the delete button in the downloaded file window it deletes it from my idisk.

    Jeff Stone1 wrote:
    well that is sort of what i thought. when the app was originally previewed it was stated that you can VIEW your documents stored on your idisk. but the mobileme page on the apple site says that you can DOWNLOAD files to your iphone.
    i just looked and i only see where you can view and share files but i don't see anything about downloading files.
    on a side note why is the icon blue didn't it change from blue to a pink with the change from .mac to mobile me.

  • How do delete photos from iPhone but keep them on the cloud?

    Is it possible to delete photos from an iPhone but keep them on the cloud? If not what is the purpose of buying extra storage for icloud If you phone can only hold up to 128gb?
    finding it hard to get a straight answer on this, so maybe have to go to a local shop and find out.

    Refer to this Faq.
    How does iCloud Photo Library save space on my device?
    iCloud Photo Library can move the original high-resolution photos and videos to iCloud and
    replace them with lightweight, device-optimized versions on your iOS device. This helps you
    make the most of your device storage while giving you access to more photos than ever.
    You can turn on Optimize [device] Storage from Settings > iCloud > Photos or Settings >
    Photos & Camera > iCloud Photo Library on your iPhone, iPad, or iPod touch. You will need
    an Internet connection to access an original photo or video that’s stored only in iCloud.
    Yes I want to know the answer too.
    If I subscribe to iCloud storage but my iPhone can just hold up to 16 gb.
    Why do I have to do it ? to make my iPad see photos from my iPhone?
    I did try to disable icloud photo while i had 1gb photos stored in my iPhone
    and wipe them out, yes ,nothing left, 0 data. but when I turn on iCloud Photo -
    again. everything come back as preview photos but when I look at each, my phone
    will download them all anyway. so, how can you manage space on devices actually?
    if I have 16 gb on my phone , So I can see all of my 1tb photos on iCloud ?
    and have enough space on the phone to do other things right?

Maybe you are looking for

  • OLD RFC export structure being referred to

    Hello all, I am testing a XI to RFC call in PI. The structure of the export parameter was changed after being imported into IR and accordingly I did re-import the modified RFC into IR. The export parameter in IR reflects the latest correct structure.

  • Can I use analytical function in this problem?

    Hi, I want to use query only for the following . I don't want to wright any function or procedure for this. create temp table test_3 (user_id number, auth_id number); insert into test_3 values (133,609); insert into test_3 values (133,610); insert in

  • Using Adobe Reader under Firefox: I have read the Mozilla specific help for this and fail.

    I have Firefox 3.6 and FC13. I need to run Adobe reader under Firefox to be able to submit tax forms. I run Adobe reader 9 fine separately, including forms. In the reset download actions Mozilla suggestion I fail at: 2. click File and select Exit, th

  • Can you open normal Apps in Snow Leopard Server?

    Hi people! Can you run normal Snow Leopard Apps in SL Server? (like iLife, VLC...)

  • Where's the OES2 SP1 documentation?

    Novell Documentation takes us to the documentation for OES2 SP2. This is now the current release (just released) of OES2. Since NOWS SBE2 2.5 is based on OES2 SP1, and has just been released, the OES2 SP1 documentation is still needed.