To whom it might interest - "bulk" changes to the apex repository

For those who might be interested in methods for "bulk" changing the apex repository, especially for medium large applications, i wrote a few queries that may come in handy for common problems like :
- "how to change template on all labels currently set to "Optional"?
- "how to quickly delete a region with a given name from multiple pages in one shot?"
- "how to check if there are items or buttons attached to a region?"
and stuff like that...
The list of queries that i initially supplied is supposed to grow in the future.
Of course this kind of practice is absolutely unsupported, officially discouraged, so, use at your own risk.
http://oraclequirks.blogspot.com/2008/10/some-examples-of-bulk-changes-to-apex.html
Flavio
http://oraclequirks.blogspot.com

Hi Flavio
Your post didn't appear to set session state anywhere, which tends to screw things up.
ie. your objects "disappear" from your workspace and get reassigned to flow_id 0.
I always do the following before any changes:
declare
l_flow_id number := 101; /** set to match application */
l_company_id number := 1203342054321505; /** set to match application */
l_user varchar2(30) := 'MARK'; /** set to match application */
l_sgid number := wwv_flow.get_current_flow_sgid(l_flow_id,l_company_id);
l_csize number := 12;
begin
-- set Apex context
apex_application.g_user := l_user;
wwv_flow.g_flow_id := l_flow_id;
if l_sgid is not null then
wwv_flow_api.set_security_group_id(p_security_group_id=>l_sgid);
else
raise_application_error(-20000,'Security group ID not found - must fix before can continue.');
end if;
/*** now do your changes ***/
end;

Similar Messages

  • If an internal ID is changed for the Work Repository how does it affect objects that are already in it?  Will they continue to run or do you need to cycle the ODI agent?

    I was having trouble migrating the Master and Work repositories from my QA to my Prod environment.  I was getting an error message that the internal id's were alike so I changed the internal id in my Prod Master repository.  Then I tried to migrate the Work repository and was getting a similar error.  I did a search on the internet for the error message and it recommended that I renumber the Work repository so I did.    My concern now is how these changes affect the objects that are already in the repositories?  Will those objects continue to run?  Also do these changes take affect immediately or do you need to cycle the ODI agent?

    Well I cannot completely assure you but so far I have not faced any issues after a renumber. It will affect the exist object only when you have imported the object in synonym_update mode. I believe you have the daily backup of your production repository.
    Bhabani
    http://dwteam.in

  • Change the APEX at the URL

    Hello all,
    I'd like to know if it's possible to change/remove the APEX from the URL, something like: http://192.168.20.1:8080/apex/f?p=200:1 to http://192.168.20.1/f?p=200:1.
    Is it possible to change on Apex App, GlassFish or IIS config?
    Thanks in advance,
    Alan Martini.
    Edited by: Alan Martini on 21/03/2011 14:52

    Couple of methods are discussed here : Patrick's Blog
    A simple method using frames is discussed here
    Might not be exactly what you are looking for, but should give you some ideas.

  • Regd Changes in the MDM Vender Repository

    Hi All,
    I have got some changes to the Vendor repository in Sand box and DEV box.  .
    for example:-
    Field                         Description
    House Number                    Deleted
    Federal Tax ID No                    Changed name to Tax ID 1
    Tax ID 2                         Added
    And deleted the lookup table u201CXYZu201D.
    When we had made changes to the fields,in EP what we need to do in the setup to make sure they come into portal.
    Regards,
    Deepak Arora

    Hi Shiv,
    Thanks for your reply.Now,we are able to map new field created in MDM in OCI mapping.But,when i login portal and connected catalog i am getting below error  because of new field ('MDMSRM_VMI_STATUS') mapped.
    However when i remove newfield in OCI,no error when connecting to catalog.
    Please advise
    Regards
    Sunil
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.IllegalArgumentException: Field with Code 'MDMSRM_VMI_STATUS' does not exist in the table 'MDMSRM_CATALOG_ITEMS (T1) '
    Edited by: PSUNIL on Jan 19, 2012 2:48 PM

  • Bulk Change UserID and Primary Email Address

    Hi All,
    We have just successfully completed Cutover Migration and imported in all users and mailboxes from our existing Exchange 2010 environment into Exchange Online. However we are now wanting to change all UserID and Primary Email Addresses to conform with a
    new username strategy. All accounts are currently Cloud Only and we do not have DirSync set up and are not planning to.
    Currently the username and email address for a user is in the format [email protected] We want this now to be [email protected] for both logging in and email address. We want to maintain the old Email address as a proxy address. How is this possible?
    There are about 500 users, so I need a quick way of doing this with a script?
    Regards,
    Timus

    You can connect to Exchange Online via the powershell console.
    To add an emailaddress this should work :
    http://technet.microsoft.com/en-us/library/bb123794(v=exchg.150).aspx
    To change the upn, check http://msdn.microsoft.com/en-us/library/azure/dn194136.aspx
    This one might also be interesting :
    http://blog.migrationwiz.com/2012/01/24/office-365-powershell-tip-bulk-change-upns/

  • Bulk Changes to 100+ routers

    Wondering if anyone can point me in the right/better direction on this.
    Currently we have 150 routers connecting back to HQ over VPN. We need to make changes to these routers that would bring down the VPN in the middle of the changes until everything is reworked. As it stands we currently have to dial in to make out of band changes.
    Our sites are addressed 10.10.XXX.0/24, xxx=sitenumber.
    Does anybody know of a way of using variables in router config commands and then pasting or scripting this config in into the router to be executed later so that it doesn’t matter that the .
    We have kiwi cattools for bulk changes but that requires the VPN to be up for every command. Once the vpn is knocked down by any command the remaining changes can't be made and the site is down until someone dials into the site and finishes the config changes.
    After reading around I'm leaning toward TCL scripts and kron. Anyone have any other recommendations?

    I've done similar at previous companies (long ago) using a similar combination as you mentioned.  You might want to check out some of the scripts at http://cosi-nms.sourceforge.net/related.html
    Specific links:
    Ciscocmd
    cosi-ciscotool
    MISAL
    TCL/Expect from our friend at libcisco
    Hope this helps.

  • I used to update my iPhone 4S applications whenever a new update is available, but at this time, "unknown error" displays after entering my apple id password. Anyone who could help, whom they might have experienced? Thanks

    I used to update my iPhone 4S applications whenever a new update is available, but at this time, "unknown error" displays after entering my apple id password. Anyone who could help, whom they might have experienced? Thanks

    Hi Christianjr,
    When you say you reset your network settings, what do you mean, exactly?
    I saw another post on this issue, and the poster indicated that they resolved the problem by turning off their cellular date option and wifi options in Settings, and then turned them back on.
    Also, resetting your phone may help - press the Home and Power buttons at the same time and continue to hold both down until the Silver Apple appears. Once it is back up, click on the update option and see if it fixes the problem.
    If none of those things work, then need to have details on what you did to reset your network settings....
    Cheers,
    GB

  • How to do (if possible) a bulk change of formats

    Is there a way I can create a bulk change of formats? That is to say, I have six pages multiple frames of text (and graphics) with all kinds of different fonts, points, colors, effects etc.
    I want to (as easily as possible) conduct a mass change where everything will be reformatted to (for example), Times new roman 12 point.
    I would imagine I could create a paragraph style sheet and then go touch all the text boxes one at a time, but I was hoping for one click (ha ha ) and it is done.
    Am I smoking funny stuff, or do I have to do it the old fashioned way. One text box at a time.
    Bob

    Bob,
    InDesign "remembers" which values to change if you change the Paragraph Style, courtesy of this simple rule: If it is the same number in the text as in the style, it gets changed. Otherwise, it must've been some sort of override, and it's preserved.
    Alt+clicking the paragraph style on your entire document resets
    i everything
    -- intended or not. Since that's what you wanted, no further problems. If you ever get into a spot where you
    i don't
    want to reset everything (because you manually fiddled), you can try this handy trick:
    * find out what the "wrong" size is -- the one you want to kill.
    * change the size in the paragraph style to the "wrong" size. Every paragraph with the style will get this applied. Exit the Paragraph Style options (so it will "take")
    * Re-visit the Paragraph Style options and put in the right size. All and only the size overrides will have disappeared; the rest of your overrides stay in place.
    This works with everything (as far as I'm concerned) you can change in Paragraph Styles, and as a matter of fact, also in Characters styles (and probably in Object styles and Table styles as well).

  • I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time.

    I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time! I really appreciate the assistance. Kathy

    According to:
    http://en.community.dell.com/support-forums/desktop/f/3515/p/19351107/19767627.a spx#19767627
    It has DVI ports.  This means you are best to use an adapter that supports DVI.  Note there is no audio that carries over DVI.  What you need is a mini-Displayport to DVI adapter, and the proper DVI cable. Since Dell doesn't have the specs, you'll need to tell us if you have pins or holes, and how many are grouped.

  • I hope this might interest someone. The situation; 3 floors,I am having trouble with an an Airport Extreme, 802.11n on the top floor and a Mac Pro 3.1 on the bottom floor. Not always but often it has trouble seeing the Airport and making a connection. I h

    I'm not sure how to post a message. I hope this might interest someone. The situation; 3 floors,I am having trouble with an an Airport Extreme, 802.11n on the top floor and a Mac Pro 3.1 on the bottom floor. Not always but often it has trouble seeing the Airport and making a connection. I have an older Airport Express, would it help to install it? would it work best if it was installed in the same room? should it be installed half way in between? Get another Extreme? The Mac Book Pro on the middle floor can see 11 networks in the neighbourhood if that might be causing a problem or would if I installed the Express. Thank for your consideration.   

    Thanks for your time ... I appologize for the font and colour, I compossed the question in pages and failed to notice the font colour as grey ... there are a variety of computers of various ages so I think it is using a setting that allows both 5G and 2.4 ... the connection to the Airport is thru a cable modem and cable does run throuhout the house ... maybe those hard wires would be a place to look at ... do you think that putting the 'Express' on the second floor might help ... thanks again ...

  • Bulk changing all websites from SSL to non-SSL (443 to 80)

    While I was cleaning up my Mountain Lion Server, I innocently updated some SSL server certificates.
    Shortly afterwards, I found that ALL my HTTP (80) sites didn't work. I went into the Server.app and found that ALL my sites were now using port 443, rather than the port 80 that they were running on.
    Since I have over 100 sites, I need to know how to BULK update them back by removing the certificate they were assigned when I updated that specific cert.
    How did I update the certificate? I was looking at the Alerts section of the Server.app, that told me that some were expiring. There was a Replace button and that's what I clicked. I was never warned that it would change ALL my sites from having NO certificate to the certification that I replaced.
    Any ideas on how to resolve this issue quickly, without having to open up EACH site and change the certification to NONE (and thus changing the port back to 80)?

    There's no bulk update via the GUI [1], which leaves shutting off Server.app and mass-editing the Apache data.
    For a bulk change of 443 to 80, something like this should get you started. 
    FWIW, Do also confirm whether the port 80 sites are still around in the configuration data, as some web browsers are now selecting 443 whenever that's available.
    [1] Yes, I'm probably ignoring scripting via AppleScript here.  If I have to script something, it'll be the Apache data and not the GUI, and using bash, Python or other such and likely not AppleScript.  Local preference.

  • Bulk changes to Common Resource Parameters

    Hi,
    I need to make changes to many disks and file server resources at once in my cluster.
    The settings I need to change are in the common properties for resources:
    http://msdn.microsoft.com/en-us/library/aa372230(v=vs.85).aspx
    RestartPeriod
    RestartThreshold
    SeperateMonitor
    but when I use this:
    get-clusterresource "cluster disk 104" | get-clusterparameter
    All I get are private properties about the disk. I don't understand how I can bulk change the parameters on the disks or file servers in powershell for common parameters. Does the set-clusterparameter still work for these even though they are not displayed?
    I really do not want to do this manually in the GUI.
    Just to clarify, I wanted something like this:
    get-clustergroup "Group 1" | get-clusterResource | Where {$_.ResourceType -like "Physical Disk"} | set-clusterparameter -name RestartPeriod -value xxxxx
    But I am not sure this will work as if I use "Get" I do not see that particular common parameter listed
    Thanks

    I managed to work this out. It was so easy in the end I was kicking myself.
    Lets say you want to change all DFSR resources that are set to failover if they fail:
    $NeedFixed = get-clusterresource | Where {($_.ResourceType -like "DFS Replicated folder") -and ($_.RestartAction -eq 2)}
    Foreach ($Resource in $NeedFixed) {$Resource.RestartAction = 1}
    or for disks you want to change some settings:
    $GroupDisks = get-clustergroup | Where {$_.Name -like "Groupname"}| get-clusterresource | Where {($_.ResourceType -like "Physical Disk")}
    Foreach ($Disk in $groupDisks) {$Disk.RestartAction = 1; $Disk.RestartPeriod = 1800000; $Disk.RestartThreshold = 10 }
    Thanks

  • Bulk Changes to Transactions

    Hi All,
    We have a requirement of enabling Bulk Changes to transactions. For example if select 5 opportunities and change the status for one of the opportunity, the status for the other selected opportunities also gets changed.
    Any pointers on how to achieve this would be highly appreciated
    Regards,
    Varun

    Hi Varun,
    When you mentioned select 5 opportunities, from which screen/transaction
    you select these documents from?
    You can create Action Defintion to call Function CRM_ORDER_CHANGE_STATUS to each of those 5 documents.
    Hope this helps.
    cheers,
    Gun.

  • Bulk change activity duration type

    Hi All,
    Does anyone know how to
    bulk change Activity Duration Types.
    I would
    like to change all the existing Activities in my Project
    to Fixed Units/Time.
    Thanks<br
    />Munga

    Hi Munga,
    Select the Duration
    Type of the first activity then click on the shift tab
    and select the last activity ,right click you shall
    find the 'Fill Down'Option.This option shall act
    similar to the Fill Cell option of excel wherein the
    value of first cell will get copied till the last
    cell....
    Regards,<br
    />
    Pratish Shetty

  • Mass change of the Original System

    Hello Experts!!!
    We need to do a massive change of the original system to avoid repair tasks. I know that thru SE03 or SM30->TADIR is possible, but we need to do it to all objects in the system.... I think It might exist a standar tool for that... what do you think???
    Thanks a lot!!!!
    Frinee

    Also interesting: transport of copies / relocation of objects
    http://help.sap.com/saphelp_nw70/helpdata/EN/57/38e1a94eb711d182bf0000e829fbfe/frameset.htm
    Thomas

Maybe you are looking for

  • What the difference and use between   of  TABLES and SY-REPID?

    Hi, Experts, I have came accross 2 cases that i can't able understand EX1: TABLES: VBAP   - >( Here also Appplication Server(AS) creates Wrokarea of Structure VBAP but, by  data: v_vbeln like vbap-vbeln.    double clicking on variable v_vbeln AS taki

  • PLEASE HELP - I've tried everything

    Hello good people, My iPod nano connects and is visible in Device Manager yet invisible in My Computer and iTunes. I've tried everything I can possibly think of to try and solve this myself, all in vain. I've been using my nano 4G for quite some time

  • SAP Work Manager 6.1 deployment on SMP

    Hi I am facing this issue while publishing the Agentry app in SMP. I am not getting the successful message after browsing the Zip file as mentioned in the Step 8 according to this blog SMP 3.0: Custom development of SAP Work Manager 6.1 on Agentry Se

  • How to update collection when checkbox changed in report

    I have a report based on a collection: select seq_id        ,c001        ,c002        ,apex_item.checkbox(1,seq_id,decode(c003,'J','CHECKED','UNCHECKED')) selected from apex_collections where collection_name='CONCOLLECTION'When the checkbox changes I

  • About erasing content on the iPod 4th Gen

    I decided to erase all content from my ipod. I heard it would take a couple hours to do so depending on how much content is on the iPod. It has been "erasing" and rebooting itself for two days. Is it supposed to reboot every 10 or so minutes and then