Bug while copying items on a page.

When I create a new page item via copying from existing page item it fails with the below error code, if there is &gt; or &lt; character in the source of the existing item.Error Source contains <, > or " which are invalid characters. It works fine if I create new item using wizard and then have the same source. I use div tags in the source of my display only items.
If this is a bug, can we get it fixed in the upcoming release.
Thanks,
Manish

Hi Manish and Scott,
I also concur and have filed bug #14724684. Specifically this appears to occur when the 'Source' value contains either <,> or ", and only when copying items as you say. I'm afraid this will not be fixed for 4.2, but we will aim to fix it for the first patch set. Interestingly, the item does still get copied despite the error, (which I'm sure you noticed anyway), but just thought I'd mention it in case that's of use to you or others as the error won't stop you from copying items containing these characters in their source.
And yes, Scott I agree with the DA copy wizard and have made a note to improve this for our next release. Thanks for mentioning it.
Regards,
Anthony.

Similar Messages

  • Problems when copying item from a page to another one

    I am copying a value of an item, from a page to another one in branch, and it cuts the value to me in ' : '
    ej: item a = 08:00 Hs
    item b = 08
    thanks
    Juan Pablo

    I had to deal with the same thing and I know at least two solutions - one is "dirty" and the other one is a "clean":
    1. dirty - replace ':' (colon) with ';' (semicolon) and pass that value using URL. On the page, where your item(s) is, create a computation using REPLACE(P1_ITEM, ';', ':') on load and before header.
    2. clean - as Scott says and it works in many cases - pass only a primary key and a request to your target page and create there a procedure to fetch the values you need and populate the items
    If you use the documentation and search on keywords "COMPUTATION" and "REQUEST", you will find a lot of usefull information.
    Denes Kubicek

  • Error while Copy Item Category

    Dear Gurus,
    I'm facing a problem in SPRO.
    When I'm trying to copy Item Category "BVN" to a new one ie ZB14(for example) ,I gets an error stating that "Billing Plan Type is invalid".
    Could anyone please help me what is the reason for the error as well as where we can set the Base settings for SPRO.
    Thanks
    Balaji

    Mr.Kishore,
    Thanks for your reply.
    Could you please write me in detail. Already the Billing Plan in BVN is empty only.
    How to set up the Routine in Copy Control for this error.Your reply will be highly appreciated.
    Thanks
    Balaji

  • Getting Problem in ME21n while copying Item level data.

    Hello,
    When i'm tryin to copy 1st row of the data,when i copied on to 2nd row ,so it is not copied the Purchase Req. Number.
    Why is it so? Whether i have to use BADI or Enhancement?
    Kindly suggest.
    Regards,
    Abhishek Kulkarni

    Hi Raymond,
    Thanks for your reply.
    Whether is it Standard or  need to do any enhancement? when i copied one row as per screenshot it will not take same  Purchase Requisition Number on 2nd row.
    So in BADI "ME_PROCESS_PO_CUST" is there any update method ??
    Kindly Suggest.
    Regards,
    Abhishek K.

  • Copy items(like task list, pages..) from one workspace to anothe

    How do I copy items(like task list, pages..) from one workspace to another?
    I am the admin for both the workspaces, but I am not the oracle workspace administrator.
    Thank you

    Anonymous,
    No this is not a bug. Working with multi-select lists or any item which stores colon delimited values can be tricky to work with in APEX. There are a few work arounds for this. One is to replace the colons with something else like you described and then replace the colons on the landing page. Another solution is to send the primary key for that record and have an automatic row fetch or a computation pull the colon delimited value.
    Cheers,
    Tyson Jouglet

  • Error while copying page. (WWC-44262)

    Error while copying page. (WWC-44262)
    An unexpected error occurred: User-Defined Exception (WWC-44088)
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    Error while copying page. (WWC-44262)
    Please specify a valid Name and Display Name. (WWC-44102)
    I am not able to make a copy of a page.

    Hi,
    Did you get an answer for this problem?
    Karl

  • Error while copying page template!

    Copying of a simple page template fails in Portal 10.1.2 with the following error:
         Internal error (WWC-00006)
    Error while copying page. (WWC-44262)
    An unexpected error occurred: ORA-20100:
    ORA-06512: at "PORTAL.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL.WWV_THINGDB", line 1816
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWSBR_API_URL", line 73
    ORA-01403: no data found (WWC-44088)
    An unexpected error occurred: ORA-20100:
    ORA-06512: at "PORTAL.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL.WWV_THINGDB", line 1816
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWSBR_API_URL", line 73
    ORA-01403: no data found (WWC-44082)
    An unexpected error occurred: ORA-20100:
    ORA-06512: at "PORTAL.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL.WWV_THINGDB", line 1816
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL.WWSBR_API_URL", line 73
    ORA-01403: no data found (WWC-44082)
    An unexpected error has occurred (WWS-32100)
    ORA-1: User-Defined Exception (WWC-36000)
    No data found (WWS-32101)
    I already had this error in Portal 9.0.4.

    Hi Christian!
    I already opened a TAR. As (according to the Portal docs) exporting Portal applications to future versions is not supported, waiting for another Portal release would mean starting our applications from the scratch. For this reason, bugfixes in future releases are of no really use in our case, and we definitely HAVE to find a solution for this quite crucial problem.
    But thanks for this information.
    Eckhard

  • Item Category determination while copying

    Hello Guys,
    What is the difference between Normal Item Category determination and Item category determination while copying? What could be the business logic behind this?
    Thanks in advance.
    Ravi

    I would maintain the entires to confirm what item categories could be copied from a quote AGIS to an TA order.
    Normally a TA NORM drives to a TAN.  If yo change the quote from a AGN to ZAG, you may want the order to drive to a TAS dropship ship.  Just gives you more flexibiilty without any coding.

  • Drag and Drop Layout with items attached to Page 0 Region Bug

    Hi,
    I have a region on P0 (P0_REGION) and multiple page items (not on page 0) are associated to the region. When I go to "Drag and Drop" the page items I see all the Page Items for the given page and all the Page Items that are linked to a P0 Region. For Example:
    P0:
    Region: P0_REGION
    P100:
    Items: P100_X, Region: P0_REGION
    P200:
    Items: P200_Y, Region: P0_REGION
    Now on P200, click on "Drag and Drop" above P200_Y I'll see P100_X and P200_Y.
    This is a bit of an issue if you have a lot of items that are linked to a region on Page 0 but actually belong to another page.
    Is this a bug?
    Thank you,
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

    Look at the following link:
    Drag and drop - like the builder?

  • Is it possible to have duplicate columns from source List to target List while copying data items by Site Content and Structure Tool in SharePoint 2010

    Hi everyone,
    Recently ,I have one publishing site template that has a lot of sub sites which  contain a large amount of  content. 
    On root publishing site, I have created custom list including many custom fields 
    and saved it as  template  in order that 
    any sub sites will be able to reuse it later on .  My scenario describe as follows.
    I need to apply Site Content and Structure Tool to copy   a lot of items
     from  one list to another. Both lists were created from same template
    I  use Site Content and Structure Tool to copy data from source list 
    to target list  as figure below.
    Once copied  ,  all items are completed.
     But many columns in target list have been duplicated from source list such as  PublishDate ,NumOrder, Detail  as  
    figure below  .
    What is the huge impact from this duplication?
    User  can input data into this list successfully  
    but several values of some columns like  “Link column” 
    won't  display on “AllItems.aspx” page 
    .  despite that they show on edit item form page and view item form page.
    In addition ,user  can input data into this list  as above but 
    any newly added item  won't appear on 
    on “AllItems.aspx” page
    at all  despite that actually, these 
    item are existing on  database(I try querying by power shell).
    Please recommend how to resolve this column duplication problem.

    Hi,
    According to your description, my understanding is that it displayed many repeated columns after you copy items from one list to another list in Site Content and Structure Tool.
    I have tested in my environment and it worked fine. I created a listA and created several columns in it. Then I saved it as template and created a listB from this template. Then I copied items from listA to listB in Site Content and Structure Tool and it
    worked fine.
    Please create a new list and save it as template. Then create a list from this template and test whether this issue occurs.
    Please operate in other site collections and test whether this issue occurs.
    As a workaround, you could copy items from one list to another list by coding using SharePoint Object Model.
    More information about SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    A demo about copying list items using SharePoint Object Model:
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-copy-list-items-in-a-generic-way/
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Time machine: An error occurred while copying files. The problem could be temporary. If the problem persists, use Disk Utility to repair your backup disk.

    Time machine backups are failing. I've followed the instructions I found on the Time Machine troubleshooting page (http://pondini.org/TM/Troubleshooting.html) but have gotten to where I don't know what to do next.
    Sequence of events:
    The main error message is always:
    An error occurred while copying files. The problem could be temporary. If the problem persists, use Disk Utility to repair your backup disk.
    Yesterday, I opened Disk Utility and verified the disk. Got this error:
    Error: This disk needs to be repaired using the Recovery HD. Restart your computer, holding down the Command key and the R key until you see the Apple logo. When the OS X Utilities window appears, choose Disk Utility.
    I ran Disk Utility and repaired the hard drive. Then I manually started the backup before going to bed, figuring it was going to take a long time to run. When I got up this morning, the backup had failed with the same "could be temporary" error. I checked the log, which says:
    Starting manual backup
    Attempting to mount network destination URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Mounted network destination at mount point: /Volumes/Tery Griffin's Time Capsule using URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Disk image /Volumes/Tery Griffin's Time Capsule/Tery Griffin’s Computer (44).sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Error: (-36) Applying backup protections to /Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/ABB10CF2-F041-4DE5-B6AE-3C228B59ADCC
    Error: (5) setxattr for key:com.apple.backupd.SnapshotStartDate path:/Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/ABB10CF2-F041-4DE5-B6AE-3C228B59ADCC size:17
    Error: (5) setxattr for key:com.apple.backupd.SnapshotState path:/Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/ABB10CF2-F041-4DE5-B6AE-3C228B59ADCC size:2
    Deep event scan at path:/ reason:must scan subdirs|new event db|
    Finished scan
    Found 145601 files (11.88 GB) needing backup
    16.1 GB required (including padding), 620.77 GB available
    Copied Zero KB of 11.88 GB, 0 of 145601 items
    Copied 0 files (Zero KB) from volume Macintosh HD.
    Copy stage failed with error:11
    Backup failed with error: 11
    Ejected Time Machine disk image: /Volumes/Tery Griffin's Time Capsule/Tery Griffin’s Computer (44).sparsebundle
    Ejected Time Machine network volume.
    Starting automatic backup
    Attempting to mount network destination URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Mounted network destination at mount point: /Volumes/Tery Griffin's Time Capsule using URL: afp://Tery%20Griffin;[email protected]/Tery%20Griffin's%20Time%20Ca psule
    Disk image /Volumes/Tery Griffin's Time Capsule/Tery Griffin’s Computer (44).sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Error: (-36) Applying backup protections to /Volumes/Time Machine Backups/Backups.backupdb/Tery Griffin’s Computer (44)/2014-03-05-201742.inProgress/9F8E7957-9C50-49C3-8314-880E5203E3D9
    Error: (5) setxattr for key:com.apple.backupd.SnapshotStartDate path:/Volumes/Time Machine Backups/
    Does anyone know what the problem is here and what I should do?
    Thanks,
    Tery

    You have repaired your boot drive (which is good) but have you repaired your time machine drive?  I don't own a Time Capsule so I don't know if disk utility can operate on it.  If it can, you should repair it as well.  You may need to erase it and start a new backup.  That happens to time machine volumes from time to time and is why people who are serious about their data never rely on a single source of backup.

  • An error occurred while copying files.

    I am backing up a MacBook Pro Retina display to a 3TB TC and six days ago the backups just stopped and I get the following message:
    Time Machine couldn't complete the backup to Time Capsule.
    An error occurred while copying files. The problem may be temporary. If the problem persists, use Disk Utility to repair your backup disk.
    I looked at the log in Time Machine Buddy and it shows the following:
    Starting automatic backup
    Attempting to mount network destination URL: afp://Max%20Evjen;AUTH=SRP@Endor._afpovertcp._tcp.local./Data
    Mounted network destination at mount point: /Volumes/Data using URL: afp://Max%20Evjen;AUTH=SRP@Endor._afpovertcp._tcp.local./Data
    Disk image /Volumes/Data/Max’s MacBook Pro.sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to /dev/disk5s2: /Volumes/Time Machine Backups/Backups.backupdb
    Deep event scan at path:/Users/HippieMBAMA/Pictures/iPhoto Library/Database/apdb reason:contains changes|must scan subdirs|fsevent|missed reservation|file event|
    Running event scan
    Finished scan
    Not using file event preflight for Macintosh HD
    Found 3060 files (1.13 GB) needing backup
    zero date not marked for delete: /Volumes/Time Machine Backups/Backups.backupdb/Max’s MacBook Pro/2015-02-20-171344
    3.37 GB required (including padding), 1.52 TB available
    Stopping backup.
    Error: (-43) SrcErr:NO Copying /Users/HippieMBAMA/Library/Mail/V2/[email protected]/[Gmail].mbox/All Mail.mbox/86E53377-3EAB-46ED-ADF7-46E0C68CD404/Data/2/6/2/Attachments/262783 to /Volumes/Time Machine Backups/Backups.backupdb/Max’s MacBook Pro/2015-02-26-140223.inProgress/A4533EFE-AAE4-4EDD-A542-1BDD6672E951/Macintosh HD/Users/HippieMBAMA/Library/Mail/V2/[email protected]/[Gmail].mbox/All Mail.mbox/86E53377-3EAB-46ED-ADF7-46E0C68CD404/Data/2/6/2/Attachments
    Copied 1358 items (15.1 MB) from volume Macintosh HD. Linked 25141.
    Copy stage failed with error:11
    Backup failed with error 11: 11
    Ejected Time Machine disk image: /Volumes/Data/Max’s MacBook Pro.sparsebundle
    Ejected Time Machine network volume.
    I tried going back to the gmail settings to ensure the trash settings were set to SHOW and SHOW IN IMAP, and I unchecked "Store deleted messages on the server" for the gmail account in the mail.app, as I was also getting messages about not being able to move messages to trash(null), and I thought that might be the issue, but while that fixed the mail issue, it did not fix the Time Machine issue.
    Any help with this would be greatly appreciated.

    The TC in and of itself is running ok.. otherwise you would not have internet.. so the issue is the OS in the computer.. however the combo is worse than the sum of the parts.. ie Somehow TC is less reliable with Yosemite than it would otherwise be..
    here is the normal fix list.. but it is far from foolproof.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Setup the TC again.
    ie Start from a factory reset. No files are lost on the hard disk doing this.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg TCgen5 and TCwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use TC24ghz and TC5ghz with fixed channels as this also seems to help stop the nonsense. But this can be tried in the second round.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the TC always takes the same IP address.. you will need to do this on the main router using dhcp reservation.. or a bit more complex setup using static IP in the TC. But this is important.. having IP drift all over the place when Yosemite cannot remember its own name for 5 min after a reboot makes for poor networking. If the TC is main router it will not be an issue.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric.. but this change will mess up your TM backup.. so be prepared to do a new full backup. Sorry.. keep this one for second round if you want to avoid a new backup.
    5. Mount the TC disk in the computer manually.
    In Finder, Go, Connect to server from the top menu,
    Type in SMB://192.168.0.254 (or whatever the TC ip is which you have now made static. As a router by default it is 10.0.1.1 and I encourage people to stick with that unless you know what you are doing).
    You can use name.. SMB://TCgen5.local where you replace TCgen5 with your TC name.. local is the default domain of the TC and doesn't change.
    However names are not so easy as IP address.. nor as reliable. At least not in Yosemite they aren't. The domain can also be an issue if you are not plugged or wireless directly to the TC.
    6. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    You might need to do some more work on the laptop itself. eg Reset the PRAM.. has helped some people. Clean install of the OS is also helpful if you upgrade installed.
    Tell us how you go.
    Someone posted a solution.. See this thread.
    Macbook can't find Time Capsule anymore
    Start from the bottom and work up.. I have a list of good network practice changes but I have avoided Yosemites bug heaven.
    This user has had success and a few others as well.
    RáNdÓm GéÉzÁ
    Yosemite has serious DNS bug in the networking application.. here is the lets say more arcane method of fixing it by doing a network transplant from mavericks.
    http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • Photos App Copying items to Photos Library regardless of checked option

    I have been trying for hours to start my Photos App. It keeps saying via thermometer that it's either Preparing, Updating or Uploading, and this happens for hours with absolutely no progress on the "thermomether". I have been monitoring on Activity Monitor and there ARE packets going out.  My System Photo Library is about 1.5 Gb.  I have read on so many forums that a huge number of people are having this problem. So I gave up on updating the library as I have my photos in other database applications, except for a select few I use for various reasons.
    I restarted photos while holding the Option Key and creating a new System Photo Library. I imported four test JPEG files and they did import properly into the App. However, even with all iCloud settings on, none of these photos made it to either my iPhone nor to the iCloud website. I then imported other test photos directly into my iCloud on a web browser. They immediately showed up and within moments were also available on my iPhone.
    Furthermore, there is an option in Photos' Preferences that allows you to "copy items to the Photos Library".  Whether I have this checked or Not, Photos keeps importing the photos to the Library, as I can see the library's size increase with every photo imported. This is really baffling, and really disappointing that this application has so many bugs.

    Welcome to the Apple Discussions. I think you'll be better off starting with a new library. There are two ways you could do that.
    1 - create a new library and use the paid version of iPhoto Library Manager to copy the events and albums from the old library to the new one. That way you can keep keywords, comments, titles and albums.
    2 - follow Tutorial #1 to write the keywords and comments to the original files of the old library and then create a new library and import those files into it.
    After either method once you're satisfied that you have all your photos safely in the new library you can delete the old library and its source image files.
    I recommend using the iPhoto Library Manager method. It would be easier but both will do the job.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Do we have option not to refresh the data in AP invoice while copying from GRN and change the date of the invoice in SAP 9 PL 0

    Hi
    I have update tax details in GRPO but while copy to AP invoice system pick posting date/ document date as system date and if i change the date the screen refresh and the tax details i have updated it change. that i do not want.
    Is there any option so that GRPO date will copy in ap invoice so that i need not to refresh the screen
    regards
    Ashish Garg 

    Hi,
    Please provide an example for tax details. Make note on these,
    1. Whenever copy GRPO to AP invoice, posting and document date is system date. This is default design system
    2. If you change these dates in AP invoice, your payment to vendor leads to confusion.
    For example:
    You have received items on 25-03-2014. But vendor raised invoice on 03/04/2014.
    Thanks & Regards,
    Nagarajan

  • Export selected items on each page in InDesign to JPEG

    Hi All,
    I have InDesign CS5.5. I have a document with more than 50 pages and each page has unique image and the description for image.
    I need to export each page as JPEG. but i don't want to export full page. i need only the items on each page. So i go to each page and select all the items and export. while exporting i use the same name of the image used in each page.
    I tried writing a script but it exports only the active page. i do not know how to navigate to the next page and export.
    is some one can help.
    below is my script.
    var myDoc = app.activeDocument;
    var myNumPages = myDoc.pages.length;  //get the number of pages
    var myFilePath = myDoc.filePath; //get the file path
    var myRectangle = app.activeWindow.activePage.allGraphics; //get the graphics of the active page
    var myPageName = app.activeWindow.activePage.name; //get the page name.
               if(myRectangle.length >1)
                        alert("the page has more than one image. Delete the other image to export");
                        exit();
    var myImageName = myRectangle[0].itemLink.name; //get the name of the image
    app.select(NothingEnum.NOTHING);
    for(var i=0; i<myNumPages; i++)
              app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
              app.jpegExportPreferences.exportResolution = 300;
              app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
              app.jpegExportPreferences.pageString = myPageName;
              mySelectedItems();
    function mySelectedItems()
              var myObj = new Array;
              myObj = app.activeWindow.activePage.pageItems; 
              try
                                  app.activeWindow.activePage.groups.add(myObj);
                                  catch(e)
              app.select(app.activeWindow.activePage.allPageItems);
              app.selection[0].exportFile(ExportFormat.JPG, File(myFilePath+"/"+myImageName+".JPEG"), false);

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

Maybe you are looking for