APEX images and scripts through relay

Hello
At the moment I'm using APEX from inside a java (weblogic) environment using a URLConnection.
I have removed most of the content from the templates so that my application now spits out straight HTML without the headers, etc.
eg. it will just output a table with a report in it, minus the html, head and body tags.
The problem I've run into is that I've forgotten how to access APEX files externally.
eg. say if I upload an image, what is the URL I should use to access this image from the outside world?
And likewise, how can I access a CSS or JS file stored inside APEX?
APEX is greatly reducing development time for reports :)
Muchly appreciated!!

Thank you Jes :)
I was leaving the /pls/apex part on the URL, and then shoving the /i/... part after it - fixed now!!
Also, another question... I'm testing using a report at the moment, and it outputs a script after the table that looks something like this:
rowStyle[1]='';
rowStyleHover[1]='';
rowActive[1]='N';
rowStyle[2]='';
rowStyleHover[2]='';
rowActive[2]='N';
rowStyle[3]='';
rowStyleHover[3]='';
rowActive[3]='N';
rowStyle[4]='';
rowStyleHover[4]='';
rowActive[4]='N';
rowStyle[5]='';
rowStyleHover[5]='';
rowActive[5]='N';and does that all the way down to 500...
Then there's another script below it, etc.
And I was looking through the templates, and can't seem to find where this script is located - and I need to remove it.
Do you know where it is hiding?
-EDIT-
Oh and sorry to be a pain, but do you know how to pass parameters into APEX?
eg. If I run a report and want to send it a start date and end date, how can I do this?
This is what I currently use to access the report page:
/pls/apex/f?p=104:2
Is there any way to make it take a few parameters, like:
/pls/apex/f?p=104:2&startDate=010106&endDate=010107
It seems to currently give me a page not found error when I try this...
It seems to only load the page when I give it the application and the page, but nothing else.
It then assigns me a session id in the URL.
Thanks!

Similar Messages

  • Adding image and link at bom matrix.

    Hello Friends,
                         I have added two user defined fields in the matrix at bom form as.
    1.For storing image
    2.For storing link
    Now I want to add image and link through coding but this is giving me error as "This is not user defined item."
    Thanks.

    Mithun,
    Did u make sure that the Columns are Active and Editable..? are they visible..??
    To set the value try the following..
    objEdit = objMatrix.Columns.Item("V_12").Cells.Item(pVal.Row).Specific
    objEdit.String = "www.yahoo.com"
    where objEdit is a Edit text.
    Regards,
    Vasu Natari.

  • Upgrading APEX from 3.2 to 4.0 images and buttons not displaying correctly

    Database 11.2.0.1
    APEX: 3.2.1
    Attemping to upgrade APEX from 3.2 to 4.0. The installation script runs fine and updates the database successfully. I run the .sql to import the images and it ran successfully however when I attempt to access the APEX home page, the images are not loaded and the buttons don't do anything. I did some research through google but did not come to anything that resolved my issue. Does anyone have any ideas?
    Thanks for your time...

    If you are using mod_plsql, you need to run @apxldimg.sql script with SYS user file present with Apex installation. Also provide the location of your apex folder as parameter to this script.
    Habib

  • HOWTO and script: create and burn an UDF image with 4+GB files

    Most people think, creating UDF images with files bigger than 4GB or even 1GB is impossible, however it's not true! You just need udftools. Also you need to load loop and udf modules. There's a good howto by grigio, I also created an (admitably pretty poor) script to do it automatically, since grigio's howto doesn't include real dvd sizes:
    UDFPATH=$HOME
    echo -e "By default the udf image will be placed into your home directory. \n Do you want to enter an alternative one? (Enter y or n)"
    read yesorno
    if [ $yesorno == y ]; then
    echo "Please enter the directory you want to use: "
    read UDFPATH
    if [ -d $UDFPATH ]; then
    echo "Using $UDFPATH"
    else
    echo "Creating $UDFPATH" && mkdir -v $UDFPATH
    fi
    fi
    if [ $yesorno == n ]; then
    echo "Using default directory"
    fi
    if [ $yesorno != y -a $yesorno != n ]; then
    echo "Incorrect entry, aborting..." && exit 0
    fi
    if [ -e $UDFPATH/udf.iso ]; then
    mv $UDFPATH/udf.iso $UDFPATH/udf.iso.bak-`date +%y.%m.%d-%H.%M` && echo "udf.iso already exists! Backing up..."
    fi
    echo -e "Please enter your type of disk: dvd5p, dvd5m, dvd9p or dvd9m:\n(5/9 stand for normal/double layer disk and p/m for +/-)"
    read type
    if [ $type == dvd5p ]; then
    echo "Creating a 4,7 GB DVD+R image..."
    dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=4590208
    fi
    if [ $type == dvd5m ]; then
    echo "Creating a 4,7 GB DVD-R image..."
    dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=4596992
    fi
    if [ $type == dvd9p ]; then
    echo "Creating a 8,5 GB DVD+R image..."
    dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=8347648
    fi
    if [ $type == dvd9m ]; then
    echo "Creating a 8,5 GB DVD-R image..."
    dd if=/dev/zero of=$UDFPATH/udf.iso bs=1024 count=8343424
    fi
    if [ $type != dvd5p -a $type != dvd5m -a $type != dvd9p -a $type != dvd9m -a $type != cheat ]; then
    echo "Wrong type entered, aborting..." && exit 0
    fi
    mkudffs $UDFPATH/udf.iso
    echo -e "UDF image created in $UDFPATH/udf.iso. Want to mount it right now? (Make sure udf and loop modules are loaded)"
    read yesorno
    if [ $yesorno == y ]; then
    echo "Please enter the directory you want to use for mounting: "
    read MOUNTPATH
    if [ $UDFPATH = $MOUNTPATH ]; then
    echo "You can't mount the image to the directory it exists in!" && exit 0
    echo -e " Mount it yourself with 'sudo mount -o loop,user,uid=`id -u` -t udf $UDFPATH/udf.iso targetdir\'"
    echo " Afterwards copy your files, unmount the image and burn the dvd."
    echo -e " For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n (the path to your DVD burner may vary!)"
    fi
    if [ -d $MOUNTPATH ]; then
    echo "Using $MOUNTPATH"
    USERID=`id -u`
    sudo mount -o loop,user,uid=$USERID -t udf $UDFPATH/udf.iso $MOUNTPATH
    echo "Copy your files, umount the image and burn the dvd."
    echo -e "For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n(the path to your DVD burner may also vary)";
    else
    echo "Creating $MOUNTPATH..." && mkdir -v $MOUNTPATH
    USERID=`id -u`
    sudo mount -o loop,user,uid=$USERID -t udf $UDFPATH/udf.iso $MOUNTPATH
    echo "Copy your files, umount the image and burn the dvd."
    echo -e "For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n(the path to your DVD burner may also vary)";
    fi
    fi
    if [ $yesorno == n ]; then
    echo -e "All right, then mount it yourself with 'sudo mount -o loop,user,uid=`id -u` -t udf $UDFPATH/udf.iso targetdir'\nAfterwards copy your files, unmount the image and burn the dvd."
    echo -e "For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n(the path to your DVD burner may also vary)"
    fi
    if [ $yesorno != y -a $yesorno != n ]; then
    echo "Incorrect entry, aborting..."
    echo -e " Mount it yourself with 'sudo mount -o loop,user,uid=`id -u` -t udf $UDFPATH/udf.iso targetdir\'"
    echo " Afterwards copy your files, unmount the image and burn the dvd."
    echo -e " For burning you may just use 'cdrecord -eject -dao -dev=/dev/sr0 $UDFPATH/udf.iso'\n (the path to your DVD burner may vary!)"
    exit 0
    fi
    EDIT: Some major mistakes solved.
    Last edited by ku (2009-04-23 19:02:41)

    See the second article for how to look through a list of files in a folder.
    http://stackoverflow.com/questions/7854727/loop-over-video-files-in-folder-to-ge t-video-length

  • Looking to create script(s) that open a folder of image and save as each image is edited/retouched.

    I used to use the iOpener plug-in to read a folder of images and present each image to me to edit/retouch.  When I was done with the image, I clicked a button on a panel and it saved the resulting PSD in a designated destination folder and automagically retrieved the next image in the folder.  Do this repeatedly until all images in the folder were processed.  Fundy had a nice tool (Batch Editor), but it is end-of-life and not being offered anymore and iOpener seems to no longer be maintained.  Target app is Photoshop CS6 / CC.
    I want to build a simple set of scripts, embedded in a panel, that would let me replicate the basic function of these tools.  Open an image from a selected folder.  Let me do all the edits I want.  Then save the result to a designated destination folder (or just a Save and Close), the serve up the next image. 
    I have many years of software development in other languages, but relatively new to adobe scripting so am looking for example code to get me heading the right direction.  Also doesn't hurt to know whether something like this already exists and I can just use it.
    Thanks!
    -Mike Price
    Fairfield Photography

    PERFECT!!!!!!
    This is exactly what I was going to build.  No need to create when it is already done.
    Thank you very much.
    -Mike

  • I bought iPhone 6 Plus few days ago and I have the following problems: 1) When entering through Safary to Google Images and tap on each on of them they do not enlarged nor I am able by click on them to enter into the connected website

    I bought iPhone 6 Plus few days ago and I have the following problems:
    1) When entering through Safary to Google Images and tap on each one of them they do not enlarge nor I am able by click on them to enter into their connected website
    2) When I receive an e-mail with images I cannot easily save them in my gallery. It needs more than 10 tabs to the window "save this image" or "save all 3 images" and if I am lucky it saves one image. This is very frustrating, I loose a lot of time trying and affects my job.
    I would highly apreciate any help
    Kind Regards

    I bought iPhone 6 Plus few days ago and I have the following problems:
    1) When entering through Safary to Google Images and tap on each one of them they do not enlarge nor I am able by click on them to enter into their connected website
    2) When I receive an e-mail with images I cannot easily save them in my gallery. It needs more than 10 tabs to the window "save this image" or "save all 3 images" and if I am lucky it saves one image. This is very frustrating, I loose a lot of time trying and affects my job.
    I would highly apreciate any help
    Kind Regards

  • When I "save page as" I also get a folder with gif images, jscript script files and other similar items. how can I stop this.

    When I "save page as" via the file button at the top edge of the page, I also get a folder containing gif images, jscript script files and other similar items. I am not is allowed to delete it unless I also delete the page I need. How can I stop this from happening. is it the way I've configured firefox perhaps.
    == since I installed firefox

    Make sure that you have selected "Web Page, complete" to save the page.

  • How to import programmatically an APEX images file using workspace images option and CSS files to APEX?

    Oracle db 11gR2
    Oracle APEX 4.2.1
    Linux RHEL 6.3
    I am importing a images file programmatically into APEX.  And also a CSS file.
    I want to add an images file to my APEX instance but I want to choose the option -- workspace images --.  How does one do that programmatically via the APEX API e.g.?
    I don't want the images tied to an application within APEX.
    Does one do the same thing for CSS files that are imported to APEX?
    thx.

    This is interesting and helpful,  I use the following code to import my APEX database application and run it via SQL*Plus and it works fine for database applications -- what do I need to change/add/modify in order to load the images and CSS files?  NOTE: I want the images to be -- Workspace images -- not tied to any application.  Also, I need to handle the situation where the images and CSS data already exist in the APEX environment as well as when they are not there (i.e. initial install).  Usually it is a case where it is an upgrade so the data already exists in the APEX app and just needs to be updated.
    declare
                      v_workspace      varchar2(35)    := 'WORKSPACE';
                      n_existing_app   number          := 123;
                      n_new_app        number          := 456;
                      v_app_alias      varchar2(35)    := 'WKALIAS';
                      v_parsing_schema varchar2(35) :='WORKSPACE_PARSE';
                      n_secgrp_id      number;
                      v_err_msg        varchar2(200);
                      n_err_num        number;
                      n_workspace_id   number;
                    begin
                      -- get workspace id
                      select workspace_id
                      into n_workspace_id
                      from apex_workspaces
                      where workspace = v_workspace;
                      -- set workspace id
                      apex_application_install.set_workspace_id (n_workspace_id);   
                      -- set security group
                      apex_util.set_security_group_id (p_security_group_id => apex_application_install.get_workspace_id);
                      -- set pasring schema
                      apex_application_install.set_schema(p_schema => v_parsing_schema);
                      -- delete existing app
                      begin
                        wwv_flow_api.remove_flow(n_existing_app);
                      exception
                      when NO_DATA_FOUND then -- do nothing when the application does not exist
                        null;
                      end; 
                      -- set new app id
                      apex_application_install.set_application_id(p_application_id => n_new_app);
                      -- generate offset
                      apex_application_install.generate_offset;
                      -- set application alias
                      apex_application_install.set_application_alias(p_application_alias => v_app_alias);
                      exception
                      when others then        
                        n_err_num := SQLCODE;
                        v_err_msg := SUBSTR(SQLERRM, 1, 200);
                        dbms_output.put_line('Error number = ' || n_err_num);     
                        dbms_output.put_line('Error message = ' || v_err_msg);
                    end;
    @newapp.sql
    commit;

  • Where can I download the last version that allows images and java script to be turned off?

    Due to my often slow connection I must have the option to turn off "automatically download images" and Java script. Firefox 23 does not have those options. Where can I download version 22 or whatever the latest version is that allowed these options?
    Thanks

    The Quickimage add-on doesn't work well at all, it gets stuck in the image off mode and will not switch back even after rebooting Firefox. Version 23.0 of Firefox is also very slow on my computer.
    I really need to find an older version of Firefox. Any idea where to download version 22 or earlier?

  • Upload Images and PDFs into MDM through UI

    Hi All,
    I have a requirement where in we need to perform a mass upload of Images and PDFs into the respective tables of MDM through a UI.
    It is like, I browse the files through UI and click on Upload button, all those Images and PDFs should be uploaded in MDM.
    Is this a possible scenario? I have searched through sdn but could find no information pertaining to it.
    Please let me know if this is a possible scenario and provide some links to any documents related to it.
    TIA,
    Sravan

    upload of images and pdfs are dome from the data manager in MDM.
    ideally whatever u do in the DM is possible to be achieved by using the MDM APIs.
    so in ur UI (Webdynpro/ Java) u should call the APIsfor upload to the respective tables and its very much possible.
    check the MDM API list for more details.
    thanks
    -Adrivit

  • WLST Scripting and interating through a propertiy file

    Hello,
    I need to create over 100 JMS queues for a specific applicaiton. Is it possible to iterate through a property file and create these JMS resources using WLST?
    I am not sure whether this has been discussed before, but a search didn't render much. Please let me know if you have the link to something similar. I am sure this must have popped up before.
    Thanks so much,

    Cross-posting : WLST Scripting and interating through a propertiy file

  • Open a document, image size and script alert window pop up

    Everytime I open a document in Photoshop CS5, these 2 dialog boxes (Image Size, Script Alert) would pop up. I would need to cancel 2 times to start editing. Is there a setting I can disable this?
    Thanks,

    Sound the likely candidate to me, too.
    wfzen, could you post a screenshot of the Script Events Manager window?

  • Is it possible for IPhoto to go through images and find duplicates which can then be safely deleted?  I have so many duplicates that it would take me weeks to physically go through them and delete individually.   I

    Is it possible for IPhoto to seek out duplicate images and then delete them?

    Try one of these:  iPhoto Library Manager, Duplicate Cleaner for iPhoto,  Duplicate Annihilator  or iPhoto Applescript to Remove Duplicates.  The second and last are free. The first is, IMO, the better app and has many other features.
    OT

  • APEX Listener and EPG - strange behaviour

    Hi
    For some years, I've used EPG for APEX but have struggled with performance particularly as I can have up to 150 student developers using at any one time.
    I do a fair amount of work using ORDImage and have successfully developed APEX applications to upload image files and display full-size and thumbnail images.
    After upgrading to APEX 4.1 (from 4.0), I decided to install APEX Listener standalone.
    Before I did so I checked that my applications still worked in 4.1 and they did.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.
    Configuring APEX Listener and running the same application through that DOES display the images.
    So this part of the application works under APEX Listener but not under EPG.
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank page with a wwv_flow.accept URL although the image does indeed upload. Under EPG it works as expected and I get a success confirmation.
    So this part of the application works under EPG but not under APEX Listener.
    Has anyone else come across different behaviour depending on the mode of connection?
    Thanks
    Brian
    [Oracle EE 11gR2, Windows Server 2008R2, APEX 4.1, APEX Listener 1.1.3]

    Hi Brian,
    it sounds like you have both EPG and APEX Listener running on the same machine, so your problem might result from a port conflict. Note that both services use TCP port 8080 as default.
    At least a port conflict would explain the strange behaviour in your case, some things working on one web server and some on the other.
    Some parts of your initial post hint to that direction, e.g.
    However, just installing APEX Listener but not configuring it (yet) has meant that my image display in a report using a procedure based on >wpg_docload.download_file( l_ordimage_image.source.localData ) no longer works in EPG - the images are not displayed.... because the APEX Listener only interfere with the EPG if it is at least running on the same machine as your database and furthermore, if it is unconfigured in terms of ist database connection, a port conflict might be the only way it could cause anything like that.
    However, if you are sure that's not the issue, please check if you see any error in the APEX Listener's log for the following action you performed:
    My application also allows users to upload images from APEX_APPLICATION_FILES using standard code. Under APEX Listener after uploading, I'm left with a blank >page with a wwv_flow.accept URL although the image does indeed uploadIf you actually see just a blank screen, something very bad must have happened and you should see some kind of stack trace there.
    For further investigations, if necessary, it would be helpful to know how you deployed or started your APEX Listener and which JDK version you use.
    For the moment, I still think the port conflict is my best guess.
    You could avoid it by either changing the port for EPG (I'd not recommend that if you have other users still using it) or by changing the port for your APEX Listener.
    -Udo

  • CRS 10.1 with Endeca 3.1.1 -home page doesn't show image and promo products

    Thanks to this forum and especially cmore I'm close to setting up my local dev environment, but still have something to resolve.
    I have ATG 10.1.2 + CRS + Endeca 3.1.1. I installed BCC with Staging and Production (switchable) stores.
    The problem is with Production CRS - both US Store and Home Store don't show image and promoted products on Home page.
    What I see below Top Category pane is empty square. Unlike Production, home page on Stage works fine - I see homepage_promo_storeSiteUS_en_anonymous.png and promoted products.
    I think the problem is not related to Endeca, as I currently connect both Stage and Prod to the same Endeca CRS, I also believe that issue is not related to configuration - I tried to run production with Stage configuration, and it changed nothing. I believe the issue is somewhere in data (DB) - but I did full deployment for Prod and it didn't help. I verified targeters and slots on Prod through ACC, and they looks fine. So don't know at this point what to do next.
    While doing full deploy I see some errors in the log which might be related to the issue, But the same errors I see on Stage as well and still Stage works without issues:
    10:17:41,805 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/HomeTheme in scope global. It is defined in scope request
    10:17:41,811 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/PromotedProduct1 in scope global. It is defined in scope request
    10:17:41,816 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/PromotedProduct2 in scope global. It is defined in scope request
    10:17:41,819 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/PromotedProduct3 in scope global. It is defined in scope request
    10:17:41,822 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/FeaturedProduct2 in scope global. It is defined in scope request
    10:17:41,826 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/FeaturedProduct3 in scope global. It is defined in scope request
    10:17:41,829 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/FeaturedProduct4 in scope global. It is defined in scope request
    10:17:41,832 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/FeaturedProduct5 in scope global. It is defined in scope request
    10:17:41,836 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/FeaturedProduct1 in scope global. It is defined in scope request
    10:17:41,839 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/CategoryPromotionContent2 in scope global. It is defined in scope request
    10:17:41,842 ERROR [nucleusNamespace.] Invalid attempt to resolve component /atg/registry/Slots/CategoryPromotionContent1 in scope global. It is defined in scope request
    Last update: I compared Stage and Prod home pages HTML code, and notice that the first difference between two pages is absence of endeca-slot Div, the below code present on Stage, and is Not present on Prod:
    It is the first difference only , there are a bunch more.
    <div class="endeca-slot" zone="/content/Shared/Global Search Configuration/Search Box">
    <script type="text/javascript">
    if(Endeca.Site) {
    Endeca.Site.Audit.contents["/content/Shared/Global Search Configuration/Search Box"] = [{"@type":"SearchBox","endeca.internal.created.by":"admin","rule.msg":"Fired","endeca.internal.last.modified.by":"admin","rule.msgcode":"13","rule.state":"fired","endeca.internal.resource.path":"\/sites-live\/NYCoCRS\/content\/Shared\/Global Search Configuration\/Search Box\/Search Box","endeca.internal.workflow.state":"ACTIVE","type":"DGraph.MerchDebug","Title":"Search Box","rule.id":"1","endeca.internal.last.modified":"2013-03-20T11:43","endeca.internal.date.created":"2013-03-20T11:43","Zone":"\/content\/Shared\/Global Search Configuration\/Search Box"}
    </script>
    Edited by: PKU on Apr 1, 2013 8:32 AM
    Edited by: PKU on Apr 1, 2013 8:35 AM

    After some analysis and experiments:
    Most likely the issue is with Scenarios. HomeTheme Slot is populated by Theme scenario.
    For some reason the slot remains empty on "bad" environment. On "good" environment the slot contain promo content item after the first call of the slot. I checked respective targeter and promo content item, and they look OK, so I believe something wrong with Scenarios.

Maybe you are looking for