Changes in Bundle.js file are disappear after restarting the UCM

Good Day,
I add some javascript code in bundle.js file within the following path: domain_home\ucm\cs\weblayout\resources\bundle.js .
the changes are reflected fine on the UCM, but once the UCM Server restated the changes are gone and the file revert back as is; without my changes.
the code that i want to add is:
if ((typeof Range !== 'undefined') && !Range.prototype.createContextualFragment) {
Range.prototype.createContextualFragment = function(html) {
var frag = document.createDocumentFragment();
var div = document.createElement('div');
frag.appendChild(div);
div.outerHTML = html;
return frag;
i want to add it because i have a javascript error like this: Object doesn't support property or method 'createContextualFragment', this erro occured when the used version of Internet Explorer is V.9. ; no javascript errors appears on Version 8. when i add this piece of javascript to the bundle.js file, it the error is gone and everything goes fine, but as i said earlier after restarting the UCM the added javascript code is gone and disappear from the bundle.js file.
For that reason i want to ask, is there is a way to keep my code and stay as is even after restarting? Or is the file uploaded on restart from another path?
Any Suggestions?

This is actually quite simple to explain:
- domain_home\ucm\cs\weblayout\resources is a directory that holds runtime version of resources
- if you want to make your changes persistent, you will need to do it in a source directory. In 11g there are two source directories; one for standard components, and the other for custom ones. You should use the latter
- in fact, if you create a custom component with Component Wizard, make your changes there and activate the component, you should be done. The only another thing you should pay attention to is the loadOrder parameter of your resource - it should be higher to get applied.
For more details, see http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/part4_customize_comp.htm#sthref522

Similar Messages

  • Repositories are invalid after restarting the MDM Server in MDM 7.1

    Hi SDNers,
    After I restarted the MDS server I am not able to logon to the repository. When I tried to connect to repository I am getting an error like "Repository Connect Failed and The MDM Repository is Invalid"
    I tired to delete but I am not able to delete also. While deleteing it is giving an error like  "MDM Repository is in Read Only Mode".
    So I am not able to Delete the repository also to create a new Repository.
    Any Help or Solution
    Thanks
    Kiran
    Edited by: Kiran on Apr 6, 2011 6:40 AM

    Kiran -
    some of the below ways you can check
    1. Check your mds.ini settings. and do unmount nad then mount the MDM server again. Try to Monitor the Authentication for Particular repositry which you want to connect to your MDM 7.1 server
    2. after checking the note 1325833. try restart database server first then MDM server.
    3. also try to check with Appropriate repository option once.
    HTH
    thx
    Deep

  • Files are disappearing after making changes in Camera Raw

    I have lost multiple files, and I have no idea what the rhyme or reason is. There are random photos that are missing out of my folders. If anyone has any knowledge about this, I would greatly appreciate it. Thank you all for your time!

    Meghan,
    What OS, version of Photoshop, ACR, etc?
    Make sure you are running the latest version of Bridge, especially.

  • Backed up files partially disappear after restore (Windows Server 2008 R2 - Windows Server Backup)

    Dear all,
    I am experiencing a problem with "Windows Server 2008 R2", using Windows Server Backup.
    Here's my setup:
    Server: RAID 5 Disk setup
    Backup:
    By using Windows Server Backup (within Windows Server 2008 R2), C: and D: were fully backed up, with "System State" and "Baremetal Recovery" options selected. Backup went okay without any errors.
    Restore:
    By using Windows Recovery Environment  (booted from Windows Server DVD), C: and D: were fully restored to the original partitions with "System Recovery" option found within Windows RE (without re-formatting partitions during restore). Restore
    went OK without any errors. Rebooted, and system has been running fine. 
    Problem:
    After the restore, the system itself seems running OK; no BSOD, no crash, no visible errors.
    However, our client insisted some files (around 6 to 7) which are related to the propriety software has "disappeared" right after System Recovery.
    Question:
    Since Windows Server Backup is using "Volume Shadow Copy" technology which enables "live backup" of the running system, is it possible that some files will disappear (=restore error) after
    System Recovery?
    I cannot really find any errors or warnings related to Windows Server Backup in the event log, through. No Windows-backup errors. No VSS errors, too.
    Do anybody have experienced this kind of problem in the past?  Any suggestion will be greatly appreciated.

    Thank you for your reply, Ms. Mandy.
    To make things clear, let me explain to you briefly:
    1. The "missing data" was backed up with "full system backup".
    2. After a system restore from the above backup image, as you mentioned, partitions has been overwritten with the partions' backup data in the Backup Data Set taken by Windows Server Backup. No error with backup. No error after restore, and reboot - system
    has been running fine.
    3. Although there was a report that the affected files(about 7 java exectables) were missing after the above restore operation, other aspect of system was running fine at the time of the report.
    4. I have checked the original backup data set - and voila, there ARE files which seems to gone after restore.
    5. When I used Windows Server Backup "on" Windows Server 2008 R2 normal environment (= NOT Recovery environment from DVD) and selectd ONLY these affected files to restore, these files could be RESTORED successfully, without any errors. SO... data
    was property backed up.
    > The recovery will overwrite the partitions so files created after the backup point will be missing. 
    I understand, and this is not the case this time, because the affected files are already present in the backup data set (= I have mounted the backup data as VHD, and I could clearly see them present in the mounted VHD file)
    Plus, these files are completely restoreable via "selective file restore" in Windows Server Backup.
    Things I want to know/confirm:
    > The recovery will overwrite the partitions
    If I understand this correctly, in case that the files in question are already present in the backup data set, these files SHOULD be restored after full system restore, right? (If these files could not be restored, Windows Server Backup SHOULD show some errors.)
    What do you think, Ms. Mandy? :)
    Jo

  • ITunes 7.1 has changed how my music files are organised - why?

    My preference is to store all the music on my PC underneath iTunes, thus:
    My Documents\My Music\iTunes\iTunes Music\{artist}\{album}
    I do not purchase music from the iTunes store (there hasn't been one in my country until very recently) but I do import CDs from my own collection, and also mp3 files which I obtain (legally) from other sources such as emusic.
    I have had the "keep iTunes music folder organised" and "copy files to iTunes music folder" preferences checked. To avoid duplication, when I have new tracks to add to my library I move them into a 'New Imports' folder inside 'iTunes Music' and then invoke "File > Add Folder to Library" in iTunes.
    Id tags in these mp3 files are not always consistent w.r.t. artist names, so I often have to select a few tracks, and edit the info so that the artist/album names are standard. When I do this the files are physically moved into the correct folder (and so I have one "Beethoven, Ludwig van" folder, rather than the dozen or so variations on that name which have been imported, and the other now-empty folders have been deleted).
    So far so good - up until the latest iTunes upgrade, that is.
    It appears that this version has changed the way iTunes operates, and it now uses the "Album Artist" field in preference to the "Artist" field. Actually that can't be strictly true, there must be other factors at work too: this afternoon I imported an album with 33 tracks; the album artist was empty while the artist was spelt in two different ways. I selected all the tracks in iTunes-Music and used "Get Info" to give all 33 tracks the same artist; the result moved 32 tracks into one folder (named as "artist") and left track 23 in its original folder. I then selected track 23 alone and checked the artist and album artist fields, and the result moved the other 32 tracks into the same folder as track 23 (named as "album artist").
    What's going on? A "what's new in iTunes 7.1" document would probably be useful but if Apple have released one I can't find it.
    Cheers
    T

    iTunes keeps no memory of the previous folders things were in so no obvious way to reverse the change. iTunes shouldn't move your files about if that option isn't ticked except if you use the option File > Library > Organize Library > Rearrange files in the folder "iTunes Media" (or you "consolidated", in which case the originals would still be in place). If it's not that then I've no idea why it did what it did. Ideally you would have a backup to recover from such a situation.
    If your files are all correctly tagged with their respective genres so that it is easy to identify "audiobooks", "teaching", "study" etc. within iTunes then you could modify my script ConsolidateByMoving to move selected files to precisely where you want them.
    tt2

  • Changes made in a Custom Program disappears after save.

    Hi,
         I made some changes to a report program.
    But the changes has been disappears after saving the report.
    This is really strange thing I come across.
    Please help me out here.
    Cheers,
    Sam

    This is really strange.
    Have you compiled and activate the program.
    Maybe you're working with a different version. Look at version management.
    regards,
    Hans
    Please reward all helpful answers !!!!!

  • I had to replace the hard drive on my computer.  I am now trying to download Adobe Photoshop CS6, previously purchased.  I get an error that files are missing after waiting for the whole download.  I have Windows7

    I had to replace the hard drive on my computer.  I am now trying to download Adobe Photoshop CS6, previously purchased.  I get an error that files are missing after waiting for the whole download.  I have Windows7

    The error msg said that the file archive part of Adobe photoshop CS6 is missing and that I need all parts in the same folder.

  • How can I make my external loaded .SWF file smoothly disappear after 15 seconds?

    Hi,
    How can I make my external loaded .SWF file smoothly disappear after 15 seconds? The following is the code to load an external .SWF file:
    var K:Loader=new Loader();
    addChild(K);
    K.load(new URLRequest("clock.swf"));
    K.x = 165;
    K.y = 247;
    K.contentLoaderInfo.addEventListener(Event.INIT, growLoader);
    function growLoader(evt:Event):void {
         K.width = 130;
         K.height = 130;
    I want to make clock.swf file disappear from the page after 15 seconds using some smooth disappear effect.
    Please help.
    Thanks.

    Something even better:
    http://www.greensock.com/
    Check out TimelineMax I LOVE it...
    The guy that made this (and gives it away for free!) is a saint.

  • Settings are gone after restarting computer

    After I'm restarting my computer my settings are gone. I'm not sure if all of them, but this is what I need to change:
    - all toolbars are enabled (in standard setting I don't have everything on all the time)
    - my start pages are not the same
    - FF behaviour after restart is not the same
    - my default download directory is not as it was before.
    What is more - if I'm closing FF and then opening again without restarting my computer - everything is fine. It is just happening after I'm restarting my computer. It is like some settings are removed after restarting ...
    It start happening after upgrade ...
    What's more - I'm usually putting my computer in stand by or hibernate mode, so it can be caused by that. I'm restarting computer only if needed ...

    This just happened to me again. And I do not understand the reply you gave me. I just want all my tabs & groups back. Can you tell me in less technical terms how to fix this?

  • Local copy idisk folders added to sidebar disappear after restart

    Folders from a local idisk copy added to the finder sidebar continually disappear after restart. Any idea how to prevent this?

    a workaround:
    you can lock this file via command + i
    Library > Preferences > com.apple.sidebarlists.plist
    to keep your sidebar setting,
    then reboot
    or
    open Terminal and write:
    defaults write com.apple.finder QuitMenuItem 1 < this will add a Quit command to the Finder
    then:
    killall Finder
    Quit the Finder via Command + Q every time you mount iDisk...
    it works for me, use at your own risk

  • I run 3 email accounts on Mac Mail, all 3 disappeared after doing the latest OS X update. I have tried adding the accounts back but no mail appears. Help!

    I run 3 email accounts on Mac Mail, all 3 disappeared after doing the latest OS X update. I have tried adding the accounts back but no mail appears. Help!

    The mailbox list is divided into categories with headings in caps, such as ON MY MAC. When you hover the cursor over one of those headings (except for MAILBOXES), you should see the word Show or Hide on the right. Click Show. The  MAILBOXES category can't be hidden.
    In each category, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small disclosure triangle. If the triangle points to the right, click it so that it points down.

  • Coded UI - Test Results/Out - The binary files are getting copied to the TestResults/Out folder

    Hi,
    I am using Visual Studio 2013 for developing the Coded UI Automation Scripts.
    Whenever I execute a Coded UI Automation Script, the binary files are getting copied to the TestResults/Out folder.
    I do not want these binary files to be copied to OUT folder, and I have tried disabling the Deployment option under Test Settings > Deployment, but still the behavior is the same.
    Could you please advice, how to disable copying binary files into the Out directory.
    Thanks in Advance.
    Regards,
    Karthick K

    Hi Karthick K,
    From your description, as far as I know that when we enable Tracing and HtmlLogger for Coded UI Test and then run the coded UI test, we will get the Test Results/Out folder automatically.
    So it is default that the Out folder includes some files like codeduitestproject6.dll, CodedUITestProject6.pdb etc, we could not disable copying binary files into the Out directory.
    However, there have a replace workaround is I suggest you can disable Tracing and HtmlLogger for Coded UI Test. After you disable the Tracing and HtmlLogger for Coded UI Test, it will not generate the Out folder.
    Similarly, it will not get the binary files.
    http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/08/enabling-htmllogger-in-coded-ui-test.aspx
    If you still want to this feature, I suggest you could submit this feature request:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there and people can vote. If
    you submit this suggestion, I hope you could post that link here, I will help you vote it.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • All my Adobe Reader (PDF) files are opening only in the secondary monitor by default, as I am workin

    I am using Adobe 8 Professional and working on Windows XP. I have been facing an issue lately with opening files in a dual-monitor environment. All my Adobe Reader (PDF) files are opening only in the secondary monitor by default. There are times when I work only in one monitor and when I open a PDF file and want to have a look at it, I have to connect another monitor to view that file, since this file is open in the secondary monitor. It is very disappointing with such instances happening with Adobe (a leading organization). Can you please help so that the Adobe Reader files open in the primary monitor by default?

    On a Windows system disable the preview of Windows Explorer.

  • Error: JAR-Ressources in JNLP-File are not signed from the same Certificate

    I have two handfull jars, all signed in batch with the same
    Certificate. When i start my App with Webstart it tells me:
    Your JAR-Ressources in JNLP-File are not signed from the same Certificate.
    "JAR-Ressourcen in JNLP-Datei sind nicht von demselben Zertifikat signiert"
    Well im shure that i signed all my jars with the same Certificate.
    What can i do to solve this problem ???

    I get the same error.
    Strangely exactly every second time it works and every second time I execute the JNLP I get the following error:
    network: Cache-Eintrag nicht gefunden [url: http://localhost:8080/fibo/lib/js_15R41.jar, Version: null]
    network: Verbindung von socket://127.0.0.1:3621 mit Proxy=DIRECT wird hergestellt
    #### Java Web Start Error:
    #### JAR-Ressourcen in JNLP-Datei sind nicht von demselben Zertifikat signiertCan this have something to do with browser caching? So that every 2nd time it tries to access the cache, fails. And than ignores the cache and works?
    Any ideas?
    Cheers,
    Rio

  • Just purchased Nikon D610. tried to import 3 images and got this message: The files are not recognized by the raw format support in Lightroom. How do I fix this frustrating problem. Have been using Lightroom for years also Nikon products without any prior

    How do I import images. Have a message that says: The files are not recognized by the raw format suppot in Lightroom. Am using a Mac version 10.9.4. the import is from a new Nikon D610. Am using LR 4.4 Please help Adobe is useless as a support.

    Each camera must be supported explicity and your LR version is years older than your camera.
    According to Adobe's Camera-support page, you need at least LR 5.3 to work with your D610 NEFs in LR:
    Camera Raw plug-in | Supported cameras
    If you don't want to upgrade to LR 5, or can't due to your OS being too old, then it might work to use the latest DNG Converter and create DNGs from your NEFs, which should open in LR 4.x.  You can find the DNG Converter here:  http://www.adobe.com/downloads/updates

Maybe you are looking for

  • Any1 else having problems after 5.1 upgrade?

    My ipad1 is running slow and a number of apps (both apple and third party) are crashing regularly. Is it,possible to back the upgrade out? Don't know what else to do. Thanks! Jim

  • Some appointments are not shown sometimes

    I access a Webaccess server that is in GMT+1 timezone from GMT-5 timezone and have GW set to either GMT-5 explicitly or use workstation's timezone. I did this test on Sunday Feb 26 and couple hours into Monday Feb 27 (GMT-5) - I created an appointmen

  • How do I change the default Facebook account on my iPad

    When I go to post from camera I get asked to enter the password for Facebook but the account it shows is not mine and I can't find where to change it?

  • Ipod Classic doesn't play video with Component cables

    I just bought a new Ipod Classic and I have it connected to my Denon receiver using the Denon dock.  I am able to play music and movies from the ipod.  But when I try to play movies thru my small LG tv (Apple red, rellow white component cable) I only

  • Maps update !

    Hi, a quick heads up, Beta Labs have released a small update for Maps 3.04 Beta http://betalabs.nokia.com/apps/ovi-maps-beta-for-mobile/download_and_installation Always worth having the latest software If I have helped at all, a click on the White St