Updating Content Area File Items

I have added an item (type FILE) to one of my content areas. This file is an HTML document named Oracle.HTML. The problem that I am having is that if I have to update the Oracle.HTML file and re-upload that file to the database, Portal is kind enough to rename the file (Oracle_0.HTML). If I do it again (Oracle_1.HTML).
This is problematic in a web environment where we have links to other documents.
I have set item versioning to NONE on the content area. I have also tried setting the item versioning to simple and then telling Portal to overwrite current version when updating the item. Neither of these help out.
Is there a way around this? Is there a way to directly load the BLOB into the database?
Help, I cannot have HTML documents in my content areas that link to each other!

Mark,
You are hitting bug 1531318. A workaround to this bug is to zip the files you want to update. Add the zipfile to the content area, and unzip the files. In this way, the original file names are kept. This works for more files simultaneously, but also for 1 file at a time.
The bug should be fixed with portal 3.0.8.6.4 , but in my case, oracle customer support could send me two updated packages, which solved the problem.
Hth,
Ton

Similar Messages

  • AppleScript 10.9.0 System Events -10006  Update property list file item

    Have AppleScript that runs without error on Mountain Lion 10.8.5, but errors out on Mavericks  10.9.0.
    At end of script, property list items need to be updated and this is when error occurs.
    Put together a subset of the script, see below) that get the error
    Statement reads "set value of property list item "ArrayList001" to ArrayList001"
    Text of error:
         error "System Events got an error: 'xxx.plist' is not a property list file."
         number -10006 from contents of property list file "xxx05.plist"
    =============================================================================
    property myPListFile : "cbmck05.plist"
    property myPListFilePath : ""
    property constPreviousRunDay : "PreviousRunDay"
    on run
       set today to "Date01" as string
              set List001 to {}
              set List002 to {}
              set myPListFilePath to ""
              repeat with i from 1 to 8
                        set end of List001 to (i * 2) as string
              end repeat
              set myPListFilePath to path to desktop folder from user domain as string
              set fileMyPList to (myPListFilePath & myPListFile) as string
    clear_file(fileMyPList)
    -- First time! need to initalize
              tell application "System Events"
      -- create an empty property list dictionary item
                        set the parent_dictionary to make new property list item with properties {kind:record}
      -- create new property list file using the empty dictionary list item as contents
                        set new_plistfile to ¬
      make new property list file with properties {contents:parent_dictionary, name:fileMyPList}
      make new property list item at end of property list items of contents of new_plistfile ¬
      with properties {kind:string, name:constPreviousRunDay, value:today}
      make new property list item at end of property list items of contents of new_plistfile ¬
                                  with properties {kind:list, name:"ArrayList001"}
      make new property list item at end of property list items of contents of new_plistfile ¬
                                  with properties {kind:list, name:"ArrayList002"}
              end tell
              set previousRunDate to today
              set xxList to (repopulate_lists())
              set ArrayList001 to List001
              set ArrayList002 to List002
    -- save info in the plist file
              tell application "System Events"
                        tell property list file fileMyPList
                                  tell contents
                                            set value of property list item constPreviousRunDay to previousRunDate
                                            set value of property list item "ArrayList001" to ArrayList001     --   <<< ------- error caused by the statement
                                            set value of property list item "ArrayList002" to ArrayList002
                                  end tell
                        end tell
              end tell
    end run
    -- ==========================================
    on repopulate_lists()
              set newList to {}
              set List002 to {}
              repeat with i from 1 to 8
                        set end of newList to i as string
              end repeat
              set List001 to newList
              return List001
    end repopulate_lists
    -- ==========================================
    -- Does the file exist?
    on fileExists(f)
              try
      f as string as alias
                        return true
              on error errMsg number errNum
                        return false
              end try
    end fileExists
    -- Delete the  files if exist
    on clear_file(aFile)
              if fileExists(aFile) then
                        tell application "Finder"
                                  set resultObject to delete aFile
                        end tell
              end if
    end clear_file

    Here's an AppleScript handler that partially works around this bug (warning: it turns each list item into a string).
    on plistWrite(plistPath, plistItemName, plistItemValue)
      -- version 1.1, Daniel A. Shockley
      -- 1.1 - rough work-around for Mavericks bug where using a list for property list item value wipes out data
              if class of plistItemValue is class of {"a", "b"} and AppleScript version of (system info) as number ≥ 2.3 then
      -- Convert each list item into a string and escape it for the shell command:
      -- This will fail for any data types that AppleScript cannot coerce directly into a string.
                        set plistItemValue_forShell to ""
                        repeat with oneItem in plistItemValue
                                  set plistItemValue_forShell to plistItemValue_forShell & space & quoted form of (oneItem as string)
                        end repeat
                        set shellCommand to "defaults write " & quoted form of POSIX path of plistPath & space & plistItemName & space & "-array" & space & plistItemValue_forShell
      do shell script shellCommand
                        return true
              else -- handle normally, since we aren't dealing with Mavericks list bug:
                        tell application "System Events"
      -- create an empty property list dictionary item
                                  set the parent_dictionary to make new property list item with properties {kind:record}
                                  try
                                            set plistFile to property list file plistPath
                                  on error errMsg number errNum
                                            if errNum is -1728 then
                                                      set plistFile to make new property list file with properties {contents:parent_dictionary, name:plistPath}
                                            else
                                                      error errMsg number errNum
                                            end if
                                  end try
                                  tell plistFile
                                            try
                                                      tell property list item plistItemName
                                                                set value to plistItemValue
                                                      end tell
                                            on error errMsg number errNum
                                                      if errNum is -10006 then
      make new property list item at ¬
                                                                          end of property list items of contents of plistFile ¬
      with properties ¬
                                                                          {kind:class of plistItemValue, name:plistItemName, value:plistItemValue}
                                                      else
                                                                error errMsg number errNum
                                                      end if
                                            end try
                                  end tell
                                  return true
                        end tell
              end if
    end plistWrite

  • How do I update linked FM files without losing TOC entries or Map IDs?

    Hi,
    I'm using RH 10 with linked FM 11 files to create a WebHelp project and this is what happens when I do an update or force update of a linked file in the RH project:
    After the update, the topic that contains updated content gets deleted from project TOC in RH.
    After the update, any Map IDs assigned to the topic that contains the updated content are deleted.
    Can someone please advise how to update a linked file without losing TOC entries or Map IDs?
    Thanks a bunch!
    Gabe

    HI Gabe,
    You will want to link the TOC from FM in your conversion settings, and set the map id's via TopicAlias markers in FM.
    -Matt
    Matt R. Sullivan
    co-author Publishing Fundamentals: Unstructured FrameMaker 11
    P: 714.960.6840 | C: 714.585.2335 | [email protected]
    @mattrsullivan LinkedIn facebook mattrsullivan.com
    http://mattrsullivan.com/

  • InCopy CS5.5 update content does not work

    I am an editor using InCopy for editing my magazine. I only have InCopy. My art director who uses the full InDesign suite, and I work remotely. She sends InCopy files to me via Dropbox. When she makes changes to the files, my content update does not work. It is shaded grey. It worked a couple of times and then stopped. Does my art director need to do something on her end to ensure I can update content in files she sends to me?
    Thanks for any help someone can provide.

    Hi and thanks for the quick reply.
    This is the problem:
    My art director is using Indesign to create Incopy files for me to edit. We
    both are working from remote locations and are using Dropbox (remote server)
    to store our files. We have been having some problems... When my art
    director changes an image I do not see the image change/update on my end.
    How do we solve this problem?
    We are both using the latest version of the software she is using InDesign
    CS5.5 and I'm using InCopy CS5.5.
    Thanks for your help.
    Cheers,
    Mary
    Mary Scianna
    Editor, Shop Metalworking Technology Magazine
    Latest issue: http://shopmetaltech.dgtlpub.com
    Vice President, Zedcom Media Inc.
    Tel: 647 932 4477
    Cell: 647 408 6137
    Email: [email protected]
    Web: www.shopmetaltech.com
    Mary Scianna Courier Address:
    416 Whitby Shores Greenway,
    Whitby, ON L1N 9R5  Canada
    Mailing Address:
    1450 Headon Road, PO Box 93171
    Burlington, ON L7M 4A3  Canada

  • Error Creating File Items in Content Area

    Received the following error message when trying to create an item in a content area:
    An unhandled exception has occurred, ORA-01403: no data found.
    I checked in the Apache error_log file and the only messages I see relate to portal30.wwv_add_wizard.edititem and portal30.wwv_additem.additem (had to be described for execution).
    Any suggestions? Thanks

    This is an unusual problem. Please work with Oracle Support to resolve it.
    Regards,
    Jerry
    PortalPM

  • Internal File Names within Content Areas

    I have a problem where I have loaded up a series of inter-linked HTML files created in an HTML editor (e.g. Dreamweaver). They all exist within a folder and all the links work. As soon as I amend a file and reload it, it gets a new name on the database (for example index_0.htm and then index_1.htm). Therefore because the name has changed the links no longer work. I have item versioning switched off in the content area and the folders where the items reside.
    Is there any way around this problem?
    null

    This behavior has been fixed for Portal 3.0.8, which is going to be part of 9iAS release 1.0.2.1, due out later this month.
    In the meantime, perhaps you could have dreamweaver update the links for your files as part of a dreamweaver "site" definition. If you update the name for one file say from ("myfile" to "myfile_1", all the other links would then be automatically updated by dreamweaver to reflect that). What version of Portal are you currently using? 3.0.6 or 3.0.7?

  • HT1338 I am trying to upgrade my iPhone via my macbook but the messageThere are purchased items on the iPhone "Mark Price's iPhone" that have not been transferred to your iTunes library. You should transfer these items to your iTunes library before updati

    Good morning
    I am trying to upgrade my iPhone via my macbook but the following message keeps coming up and the download does not work
    "There are purchased items on the iPhone “Mark Price’s iPhone” that have not been transferred to your iTunes library. You should transfer these items to your iTunes library before updating this"
    Please advise how I can transfer these files, I am not sure what files are in question.
    I've only had the MacBook a couple of days, I am PC savvy but this is all new to me so please keep it as simple as possible. I am a brit based in Bahrain.
    Regards
    Mark Price

    okay I've done everything regarding the transfer process (via file>transfer purchases) and syncing, so everything on my iPhone device seems to have been transferred to my iMac... however, I still get that message ("There are purchased items on the iPhone..."), trying to upgrade the iOS Have tried several times the same process of hitting transfer purchases via file, but nothing seems to make that message go away! Would have been nice to know which files I actually do need to transfer, which I don't get any info on of course...
    Starting to get really annoying this thing.. Any smart suggestions what's going on?

  • There are purchased items on the iPhone "asingh's iPhone" that have not been transferred to your iTunes library. You should transfer these items to your iTunes library before updating this iPhone. Are you sure you want to continue?

    When I am trying to upgrade my iphone to IOS7.0.2 by connecting my my iphone and macbook, it shows "There are purchased items on the iPhone “asingh’s iPhone” that have not been transferred to your iTunes library. You should transfer these items to your iTunes library before updating this iPhone. Are you sure you want to continue? ".  I hit the same issue and lost a lot of apps from my iphone. Can someone help on how to resolve this issue? I can automatically upgrade my software on the iphone but how shall I resolve any future updates of "Apps"?

    I appreciate the answer, but what you describe is not entirely accurate.  First, to even see view, you have to enable the menu by clicking on the icon in the upper left.  View allows you to show the sidebar.
    Second, you will NOT see your devise listed in sidebar or anywhere else.  Instead, you have to click on "devise" from the sidebar menu, wait a minute, and then it will finally show up under "devise."   Or maybe it just takes a minute to show up whatever you do. 
    Third, right clicking on your devise will take you to a menu with "transfer my files" on it, but then iTunes will refuse to make the transfer.  Instead, it will tell you that <your apps> on your <devise> could not be transferred to iTunes "because you are not authorized for it on your computer."  Apple unhelpfully suggests going to store> authorize this computer.  There is a "store" menu item on the sidebar, but it has no "authorize this computer" sub-menu.  Instead, go to the horizontal menu at the upper left, and THERE you will find "store" and the "authorize this computer" sub-menu.  Now you can transfer your files, to who knows where.
    My iPhone 5 is my first Apple devise. So far my experience has been, to do A, which must be done right now, you must first do B.  To do B you must first do C, which is unexplained save in answers in user forums.  To do C you must first do D, which, after several hours of research and puzzle solving, can eventually be done.

  • How to create folder and items in content area without edit folder option

    Hello!!
    I would like to create something to users can create and insert folders and items in content area without using the edit folder option.They would have a form to include the name of the file and the name.i would like to do this for the end users can insert files more easily. Can i do this? Anyone can help me ??
    Thanks in advance!!!
    null

    The wwsbr_api and wwsbr_search_api packages are included in the current PDK, but won't be supported until 3.0.8 is release, later this month.
    Regards,
    Jerry
    null

  • How to customize the default add item in a content area

    Hi!! I want to know what can I do to introduce a file in a content area, but I don't want to use the default page that portal use. I want to customize the add item option, the same that I have done with the folders. The problem that I have is that I need the user to have the file on his/her pc, and the api add_item needs the file on unix, where de DB is installed.
    If anyone has any idea, please help me.

    Hi All,
    Thanks for all your reply, but maybe i didn't describe my problem clear. My problem for the combobox is that once the combobox has a selected value, then there is no way to clear it in the UI even I remove all the items in its ValidValues. From the user interface, the selected value still stays there but actually this combobox is empty and does not have any items. My question is how can I remove the current selected item in the combobox.
    Thanks,
    Lan

  • Export of items in a content area

    We have items of type image in a content area. In the
    browser the image url appears as follows:
    /pls/portal30/docs/1234.gif
    When migrating content areas does the item content
    also get migrated (eg: the image file) and also
    are the appended numbers eg: 1234.gif and itemids
    kept the same in the new instance or are they changed.
    Also is the correlation between the image and the number
    maintained in the new instance.
    Thanks,
    Suzanne

    Yes. All these correlations are automatically taken care.

  • Translating items in a Content Area

    Hi,
    Here is a strange problem that happens to me : we have a content area that support both english and french. english is the native language and french was added on the 'translation' tab, with the 'online' option checked.
    A user who has the 'view' and 'add with approval' rights can add a file item in a folder. This is done with the english interface. Then, if the user change the interface to french, edit this item and choose another file (in order to translate the item), the item will disappear of the folder! If the interface is in english, this item awaiting approval is visible, if the interface is in french, the item doesn't show up!
    The administrator of the folder can see the item in any language...but not the user! Once the item has been approved, some strange things happen, but it seems ok in both languages, also for the user.
    what is happening ?
    we have Oracle Portal Version: 3.0.9.8.1
    Thanks for any help!
    Fabian Cretton

    Hi Philip
    One problem (at least with 309, havn't checked with 902) I experienced is when 'Item Versioning' for the folder is set to 'Audit'. The only way how a translation 'sticks' is when you override the current version of the item (i.e. when Version Control is not used / set to 'Simple', so you can override the current version), which is not possible with 'Audit'.
    Hope that helps
    Tino

  • How to zip files in a content area

    Hi!!
    We have a lot of documents in a content area, and every day the number of documents is going up. The question is, if we can zip these documents or something similar.

    If you're asking about compressing the files in the repository, or adding a bunch of items to a zip file, neither of these features are currently available.
    You would have to download the files, add them to a zip on the desktop, and then upload the new zip file.
    Regards,
    Jerry
    PortalPM

  • HTML Files To Be Displayed In Content Area

    Is there a way (or this feature going to be implemented in future release) of displaying html file (item type = file) in the content area when a user clicks on it's link?
    null

    We are looking at ways of addressing this problem, and expect to have something in the next major release (planned for calendar year Q4).
    Regards,
    Jerry

  • I rcvd an AppleService emaiDue to recent updates we are asking many of our customers to confirm their information this is nothing to worry about. We are making sure we have the correct information on file..." Is this real or a scam?

    I rcvd an AppleService email
    Due to recent updates we are asking many of our customers to confirm their information this is nothing to worry about. We are making sure we have the correct information on file and that you are the rightful account holder. Failure to comply with this may result in your account being suspended.
    Is this real or a scam?

    If you changed your Apple ID, you will not  be able to update any of the content that you used in the past. The worse case scenario here would have been to change the password. Really all you needed to do was go on the Apple site and change the password, unless you provided them with information. This will make it difficult for you to deal with turning off Find My iPhone and other Apple ID related steps. All you really needed to do was delete the email.

Maybe you are looking for

  • Want to use Adobe forms departmentally.  How many users per license?

    How many people can use Adobe Forms per license/how many computers can we download software to?

  • IPod "cannot be updated. The required file is in use."

    Since updating to iTunes 7 the program keeps saying that "The iPod "iPod name" cannot be updated. The required file is in use." When I click on "OK" it does in fact update. I tried to restore the iPod but couldn't do it from within iTunes but I could

  • Lack of practical settings in Quicktime

    Hi, viewing movies/video footage can be a bit of a lottery using Quicktime and amazingly this is true 'even' if referring to the same video file format let alone the countless other formats available. Within one format, i.e. .mp4, .mkv, .avi, or othe

  • Regarding FBL5N

    Dear All, Transaction FBL5N,  document type RV,  text field is same as PO (purchase order) number of Credit memo/Order number. In some of the documents text is displyed as same as PO number but for some of the documents, text field is empty. Could an

  • Cisco Role based views

    Hello, I want to set up the following - a CLI view that will restrict different users when they login using telent or ssh. Now for this i have enable AAA, and also create two views one for Guest and one for ADMIN. I then have set up secret passwords