Find item id inside folder

Hi,
How do I find item id inside one folder in content area is there a view ?

Docster wrote:
Hi All,
I'm a relative newbie to Apex. I'm trying to access a page in my app.
I have 4 main pages.
Widgets - primary page
Widget References - child page
Widget Contacts - child page
Widget Categories - child page
Each page alone works fine. From my Widgets page, I can access the Widget References page fine.
When I try to access the other two child pages, I get this error:
ERR-1002 Unable to find item ID for item " P17_WIDGET_TITLE_H" in application "12345".The error message shows that it's trying to find an item with a leading space: " P17_WIDGET_TITLE_H".
Unexpected error, unable to find item name at application or page level.
Technical Info (only visible for developers)
is_internal_error: true
apex_error_code: WWV_FLOW.FIND_ITEM_ID_ERR
error_backtrace:
----- PL/SQL Call Stack -----
object line object
handle number name
0x35b404e98 717 package body APEX_040100.WWV_FLOW_ERROR
0x35b404e98 1064 package body APEX_040100.WWV_FLOW_ERROR
0x358dd9de0 760 package body APEX_040100.WWV_FLOW
0x358dd9de0 4830 package body APEX_040100.WWV_FLOW
0x358dd9de0 7201 package body APEX_040100.WWV_FLOW
0x358dfd130 249 procedure APEX_040100.F
0x35ae40ce8 33 anonymous block
When I run the query:
select * from apex_application_page_items
where application_id = 12345
and page_id = 17
and item_name = 'P17_WIDGET_TITLE_H'
I get an ID.No leading space: 'P17_WIDGET_TITLE_H'
I have deleted the item and recreated it with every letter of the alphabet and still get the same error.
Oh, and the item is clearly visible on the page.
Do I have a poltergeist?No, it looks like you have a space in your links that shouldn't be there. You don't say how the pages are linked, but however they are, remove excess spaces from them.

Similar Messages

  • Copying Finder items into same folder as Action

    I want an Action that can copy Finder items directly into the same folder the Action resides in, i.e. without specifying where or asking the user where.
    Is this possible? All I've been able to create so far is an Action whereby I need to specify the folder or get the user to specify it.

    OK, I am now going to try to teach you to fish
    It might be a little bit easier to visualize if you think of the values passed along in your workflow as a stack of playing cards. Some actions do something with the cards and then just pass them on, some take all of the cards, and others add cards to the stack. The Set Value of Variable action takes the current stack of cards (the results of any previous action(s)), assigns it to a variable that is named whatever you want to name it, and passes the stack on to the next action. The Get Value of Variable gets the value of one of your previously named variables and adds it to the stack. You can also use a previously named variable in input fields of various actions, such as locations to copy to. I'm not sure why you are getting the path to the desktop (unless that is where your workflow application is located), but here are some additional comments for my previously posted workflow:
    1) Run Applescript (with the Applescript posted earlier)
    - if your workflow has been saved as an application, the results of this action will be a path to the folder that it is in (if not, the path will be to where the Automator application is, which isn't what you want)
    2) Set Value of Variable
    - this action will take that path, assign it to a variable with your specified name, and pass it on
    3) New Folder
    - this action makes a folder with the specified name in the specified location - you can drag variables into these fields, in which case their current values are what will be used
    - the result of this action is a new folder, and the path to the folder is added to the current stack of cards (if any) and passed on to the next action
    - since we just want the path to the new folder (and none of the previous cards), first we throw away any cards we may have (with the "ignore input" option) so that our results don't get mixed up.
    4) Set Value of Variable
    - same as (2) above, except that the value is now the path to the folder that got made in the previous action (3)
    5) Ask for Finder Items (Type: files, Allow Multiple Selection)
    - the results of this action will be whatever items you selected, and of course, they will be added to our current stack of cards unless we throw them away first with the "ignore input" option
    6) Copy Finder Items
    - this will copy Finder items (the ones we selected in the previous action) to the location that is specified - you can drag a variable into the To: field, in which case it's current value is what will be used.
    - the result of this action will be the paths to the items that were just copied, but since this is the end of the workflow it doesn't matter
    You can use the View Results action to see what the current stack of cards is, so you can see if what is going in and coming out of your actions is what you expect, and tweak accordingly.

  • Automator (move finder items)

    I have a service that moves finder items to a particular folder. Since I started using this I noticed I occasionally will need to move an item with the same name into this folder. Is there a way I can get the service to move the second item with the same name, but instead of overwriting the first item, have it add a -1 or something? If I open something like a zip file multiple times in finder, it creates the second one with a 1 after the name. That's exactly what I need. Any way to do that with a service like this?

    No, I didn't give up on the thread, I just went to work with what you gave me to see what I could do with it. It's just that you've been nothing but extremely helpful and patient with me in the past; and I started to feel like I was coming to the board, putting up my problems, and you do everything for me. I know you're here to contribute to the community, but I don't like to take advantage. I am making an effort to learn this stuff now, I just have to make baby steps!
    Okay, here is the deal with this item. I actually want to apply this with more than one operation, but the basic script or concept would remain pretty much the same. We create lots of documents like invoices, receipts, shipping labels, etc., that usually get saved as pdf onto the desktop. Then, they are named, often with the date and particular file name and finally moved into the proper folders. For example, shipping labels get saved to desktop with the default name of something like
    vty3RlsIK.LabelGenerationServlet.part
    Then I would change the name to something like
    12-31-2009USPSLabel.pdf
    Then, I would move it to the folder where we keep the shipping labels for records.
    So, the service I created actually does more than just moving the file. It goes like this:
    service receives selected pdf
    in finder
    name single item in finder item names (to: USPS_Label.pdf)
    add date or time to finder item names (before name, underscore separator)
    move finder items (to target folder)
    open finder item (with default application)
    The other ones I need would be similar, except they don't usually need to be opened afterward, just named and moved, for the most part. I figured I could continue to just use the name change function of automator before running the script, but if would run faster or more efficiently if that were also part of the script, I suppose that would be better. And I would like to be able to have the numbers go up through as many as I need. If it's a matter of just adding in all the possibilities of existing names up to the number I need, that's tedious work I don't mind doing now to save on having to name all these files in the future!
    Also, these files are always named differently, so the source file would need to just be selected file, not the actual name.
    Finally, I tried to play with the script to name the desktop like you said, but would it be something like
    set source_folder to folder (path to desktop)
    or
    set source_folder to (path to desktop)
    I still need to learn a little more before I understand the way that works. I am so used to only using the unix path, I like the ability to use (path to desktop) that's really interesting.
    I think I may have rambled a bit, but that should explain the details of what I'm trying to accomplish.
    thanks

  • Selecting Finder Items in Automator

    I am a long-time MAC user but have never used applescript or automator. I work in a Prepress department and need to find a simple way to select certain folders quickly.
    Here's the scenario:
    I have a folder full of jobs. They would look something like this:
    12345_AdvertisingAgency
    12349_CarCompany
    13245_WhoeverCompany
    13568_AnyCompany
    Typically this folder would contain 500-600 folders with the same naming convention.
    I need to find a way to ignore the first six characters (all 5 numbers + the underscore) and select the folder by the first letter after the underscore so that I can put all the "A's" in one folder, all the "B's" in another folder, and so on through the alphabet.
    Does anyone know of an automator action that can do this?
    Thank for any help.

    Your Prep:
    1. Create the destination folders, A, B, C, etc.
    Your workflow:
    1. Find Finder Items - Where= +jobs parent folder+ | Whose=Name-Contains-_A
    click on Options and select 'Show Action When Run'
    2. Move Finder Items- To= +destination folder+ ( A )
    click on Options and select 'Show Action When Run'
    Running it:
    Hit the Run button. The first time you run it, the options are already set to move all the A jobs so you should be able to just hit Return to move through.
    On subsequent runs, just change the letter/folder in Whose and To

  • To find total number of files inside folder

    Hai,
       In knowledge management is there any option to find total number of files inside folder...
        I also want to see the recently uploaded and modified documents in a seperate iview...
        Iam using NW2004s SP8..
        Very urgent..
        Waiting for a positive reply..
        Thanks&regards,
         Kiruthika.S

    Hi Kiruthika,
    1. You only need the configarchive if you don't want create all the KM configuration objects mentioned in the guide manually. So, just create the objects mentioned there and you don't need the configarchive
    Also, the scenario works also on 2004s.
    2. Please check this thread on how to show the total number of files inside a folder:
    https://forums.sdn.sap.com/thread.jspa?threadID=19610
    3. It would be nice if you would consider rewarding the time people like Saravanan spend to investigate and answer your question by assigning points via the colored stars.
    Best regards,
    Robert

  • Maximum file/folder size for Copy Finder Items?

    As I mentioned in another recent post, I used Automator a while back to set up a workflow that would Get Finder Items and then Copy Finder Items. Set it up as a iCal plugin. Worked fine for a long time, but I just checked and saw that the largest of the three folders (1.8 GB) was not being completely copied. The other two folders, much smaller (20 MB or so) were fine, but several folders within that large 1.8 GB folder were being skipped. I opened the workflow, and ran it, and it came up with an error that just told me to check the workflow. Is there a maximum size on this type of workflow? Seemed to work fine before . . .

    The *Copy Finder Items* action will not make duplicate copies. If you want multiple copies of the same item, you will need to rename or duplicate the item before copying, since the copy action doesn't have an option to rename, and the duplicate action doesn't duplicate to a different location.

  • When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    Thx for that im gonna try it....but is there a way to do it without using toolbar or cmd-c...? i mean using only the mouse?why does it have to highlight the file even though i click a bit next to it....?using icon view i can right click next to the folder and i wont have a problem but with list view that i prefer using it will highlight the whole row.....and i dont find free space to right click cause i got many files

  • Folder Action + Move Finder Items = Zero KB files

    I've got a folder action set that is supposed to run the Automator Action "Move Finder Items" on any file that gets placed in a specific folder (called "Folder A") and move it to "Folder B". I'm having an issue with larger files though.
    As soon as I begin to transfer the file to "folder A" , the folder action runs and results in a "Zero KB" file in "Folder B".
    Is there any way to keep the Folder Action from triggering until the file has completely copied to the folder with the Folder Action attached ("Folder A")?
    A side note: I have this same folder action running on an iMac with Mac OS 10.6.3 and it works great . (This one was made with the newer version of Automator that shipped with 10.6 vs. Automator on 10.5 which made the action I am having trouble with)
    Any input would be appreciated!

    There is a check in *Snow Leopard* to see if the items have completed their copy/download, but Leopard does not do any checking - the script is triggered immediately. You can add your own delay with a *Run AppleScript* action, though, for example:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- wait for file copy to complete by testing the size of the containing folder
    set theFolders to {} -- to handle items in different folders
    set skippedItems to {}
    repeat with anItem in the input -- get a list of unique folders
    tell application "Finder"
    get (container of anItem) as alias
    if the result is not in theFolders then set the end of theFolders to the result
    end tell
    end repeat
    repeat with aFolder in theFolders
    set timeToWait to 30 -- time to wait for copy to complete
    set interval to 2 -- test every interval seconds
    set copied to false
    tell application "Finder" to set currentSize to size of aFolder -- get initial size
    repeat with timer from timeToWait to 1 by -interval -- check every interval seconds up to maximum time
    delay interval
    tell application "Finder" to set newSize to size of aFolder -- recheck size
    if (newSize is equal to currentSize) then
    set copied to true
    exit repeat -- success
    else -- update size
    set currentSize to newSize
    end if
    end repeat
    if not copied then set the end of skippedItems to quoted form of (aFolder as text) -- timed out
    end repeat
    showSkippedAlert for skippedItems
    return input
    end run
    to showSkippedAlert for skippedItems
    show an alert dialog for any items skipped, with the option to cancel the rest of the workflow
    parameters - skippedItems [list]: the items skipped
    returns nothing
    if skippedItems is not {} then
    set {alertText, theCount} to {"Error with waiting for items to copy", count skippedItems}
    if theCount is greater than 1 then
    set theMessage to (theCount as text) & space & " folders timed out"
    else
    set theMessage to "1 folder timed out"
    end if
    set theMessage to theMessage & " - copy of contents may be incomplete:"
    set {tempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {skippedItems, AppleScript's text item delimiters} to {skippedItems as text, tempTID}
    if button returned of (display alert alertText message (theMessage & return & skippedItems) alternate button "Cancel" default button "OK") is "Cancel" then error number -128
    end if
    return
    end showSkippedAlert
    </pre>
    The action will check the folder sizes, and when there is no change (or the wait times out) the input items are passed on.

  • Duplicate Finder Items, but leave out a folder

    Okay, this is probably way over Automator's head, but I figure I'd give it a shot.
    I have a folder (Let's say it's called FolderA). Inside FolderA is a bunch of other folders, (for simplicity let's say it's A1, A2 and A3) and those three folders have files inside of them.
    What I want to do is duplicate FolderA, but leave out the contents of A3, but I still need a folder called A3 inside this duplicate FolderA. Is this possible?
    So, it will go something like this:
    FolderA
    - A1 > Files
    - A2 > Files
    - A3 > Files
    What I want Automator to do is duplicate FolderA as such:
    FolderA copy
    - A1 > Files
    - A2 > Files
    - A3 >

    As I am dealing with very specific folder structures, the FolderA structure will always be the same. Actually, there will ALWAYS be six folders in FolderA and they are always named the same (lets say A1-A6). What I want is ALWAYS A3 to be duplicated without it's contents (the contents will be replaced at a later time with a different version of the files).
    So, it will look something more like this:
    FolderA
    A1 > Files
    A2 > Files
    A3 > Files
    A4 > Files
    A5 > Files
    A6 > Files
    and dupe should look like:
    FolderA copy
    A1 > Files
    A2 > Files
    A3 >
    A4 > Files
    A5 > Files
    A6 > Files
    Does that make sense?

  • Find Finder Items doesn't work?

    I can't seem to get a basic thing to work...
    Find Finder Items (Where "camerafiles" & Whose Name Contains "camera1")
    View Results
    Always results in ()
    Have tried contains, begins with, ends with....nothing works.
    The folder contains about 300 files that all start with "camera1-xxx-xxx-xxx"
    Any ideas or is it just broken?
    Dual Processor 1.4 Ghz   Mac OS X (10.4.9)  

    Depends on what?
    I don't understand why "where" the folder is located should make any difference. But here's the path:
    Macintosh HD:Applications:4DWebSTAR:WebServer:Users:heckman:camerafiles
    Spotlight doesn't let you limit your search to a specified folder. I mean, why search the whole hard drive when you know the files you want are inside a specific folder?
    I tried a Cmd-F find for the files, they don't come up. I tried a Spotlight find, they don't come up. I open up the "Macintosh HD" drive from another computer on the network, do a Cmd-F find on that machine, they show up.
    So I guess the issue is: why can't I find them on the local machine they are actually on? The files are definitely there.

  • "Filter Finder Items" not working properly

    I'm taking my first crack at Automator, and while I've made good progress, one of the built-in actions, "Filter Finder Items", is just not behaving predictably. Basically, I'm doing the following:
    1) Get selected finder items - pulls a selected folder
    2) Set variable - this gives me a variable for the name of the folder we're working with
    3) Create a new folder inside the selected folder
    4) Get folder contents of selected folder
    5) Filter for three different file extensions - here's where my problem starts
    6) Move the filtered files into the new subfolder (though it really seems to be copying, which necessitates the following steps to get rid of the original files)
    7) Get contents of selected folder again
    8) Filter on the same three files extensions - this time it works properly
    9) Move filtered files to Trash
    For some reason, the first filter action doesn't seem to be working at all - if I have 15 files in the selected folder, but only three that match the filter, all 15 will be copied to the new subfolder. The second folder action will then, inexplicably, work exactly as it should and move the proper files to the Trash.
    Does anybody know why this action doesn't want to cooperate? Has anybody else seen something similar?
    Thanks for any hints/help.
    Rick
    Message was edited by: rnb2

    Saving the workflow as an application should be all that is needed, but the first action (the one that gets the items to work with) may not be correct for your usage. If the first action is *Get Selected Finder Items*, unfortunately the selection would be the application itself, since that is what was most recently selected.
    In this case, the application can be dragged onto the Finder's toolbar (where it will work with the current selection), otherwise the first action can be removed and the application used as a droplet (items dropped onto the application are passed to the workflow) or a Finder plugin.
    The first action can also be replaced with an *Ask for Finder Items* action (ignoring input).

  • Find Finder Items duplicating items

    I am trying to select files from a folder based on date created.
    I am being able to do it with Find Finder Items but the result is duplicting files on folders and files itself.
    How can I filter to have just 1 copy of each file?
    Thanks

    Sorry,
    Let me try to be more specific.
    I need to copy to a folder all music and videos created by my itunes on my music folder since June 1st 2008.
    As I run the copy finder items on my Music folder there are many items that are present on the results there are duplicate. i.e. I have a specific TV Show from House as a File and at the same time I have the hole House season as a folder that has the same file inside.
    I need to have this file ( and all others that are duplicate) only once.
    Is it possible to either filter it or have the results right in the first place?
    Thanks

  • Help on Copy Finder Items

    This is the problem:
    I have a Toshiba USB Flashdisk formatted with a Windows format (so that both Mac and PC can read/write it).
    I have a folder inside Documents where I want to backup to my flashdisk regularily (i'll plug in the drive, and then run the automator workflow).
    It worked well when I first made this, but some time ago, it won't copy ALL the files. It'll only copy some of the files/folders which makes it fustrating.
    Please Advice.
    Thanks

    I've also found that after an upgrade to Lion an Automator script I've been using to back up my Entourage 2008 identity to a USB drive no longer works, failing with a report that Copy Finder Items couldn't copy to the destination (which it had been happy doing under Snow Leopard).
    I had saved the workflow as an application in the Utilities folder. First of all I also discovered that the Utilities folder permissions had been set differently, with "system" as the owner and as the only account with Read & Write permissions. I had to change the folder permissions and then having opened the "application" in Automator had to unlock it there too.
    I've tried changing the destination of the copy to local locations like my account's Desktop or Downloads folders but still the script fails with a "Copy Finder Items can't copy ... to this destination" message.
    The script is essentially the one described here:
    http://www.officeformachelp.com/2009/04/quit_all_microsoft_applications_before_b acking_up/
    but set up as an application rather than an iCal repeating event. Once I've quit all the Microsoft applications (by running the first part of the script), Finder allows me to drag the Entourage "Main Identity" folder to the folder on the USB drive to make a copy so at that level the permissions (and disk space) are ok.
    Any suggestions welcome!

  • Where can i find the Media browser folder

    Hi guys hey where can I find the media browser folder if I want to delete some FCPX videos to free up some space.

    They are placed inside the project folder, in a folder called "Shared Items." The default location of the project folder is in your Movies folder, called "Final Cut Projects." On an external drive, the "Final Cut Projects" folder is at the top level.
    The shared file will have a name that starts with the project name, and ends with whatever you shared it to. For example, "<projectname > - Mac and PC.mp4"
    There will also be a file called ShareStatus.plist in that folder. It tracks all the instances of when you share the project. I will also control whether a little icon appears next to your project name in FCPX. Finally, if you delete an item that was shared and it still exists in that .plist file, you will see an exclamation point next to the shared icon; it is harmless but to get rid of that you need to delete the entry from the .plist file.
    Hope this helps!

  • Please help - Copying items to another folder?

    I thought I was pretty good with Automator, but I've never done a folder action before, and I can't seem to get this one to work.
    I want to have any songs in my "Automatically add to iTunes" folder automatically copy themselves to my mom's "Automatically add to iTunes" folder.
    I tried a Folder Action with "Get Folder Contents >>> Copy Finder Items"
    and I also tried "Get Selected Finder Items >>> Copy Finder Items."
    My mom and I both have read/write access to each other's Music folders, so that shouldn't be an issue.
    Is this the wrong approach? What am I missing?

    You aren't specific about what the problem is other than "I can't seem to get this one to work", so I am going to guess that the items copied are not what you expect.
    A folder action is triggered when items (files or folders) are added to the target folder. The added items are automatically passed to the workflow, so you don't need to do anything more to get them. The *Get Folder Contents* action won't get the contents of the targeted folder, but rather the contents of any passed (added) folders.

Maybe you are looking for

  • How can I use my HP built-in fingerprints sensor

    Hello. I have a DV7 Pavillion that comes with a built-in fingerprints sensor. I bought this laptop in 2010, and the problem is that the software company that used to be in charge of this feature, DigitalPersona, abandoned it and they no longer update

  • Turn off the annoying OCR scan in Acrobat 9.

    Please provide a way to turn of the annoying OCR scan in Acrobat 9. It is un-needed and really slows things down.  I want to read the file not edit it.

  • Adjusting music volume

    Is there away to fade music in and out during an iphoto slide show? Should/can it be done in itunes before the track is imported?

  • (ATI RADEON RX9550) Need help! solved

    I have the system in my signature. Recently a problem occured. First some horizontal lines occurs and then my system locks or give blue screen or restart. I have formatted and installed WindowsXP again but nothing changed. I tried different drivers (

  • Updating Content in Flash? Possible?

    I'd like to know if the following is possible: Let's say I develop a game and post it on several different sites. In the game, there is an ad for widgets. I find another sponsor after the orignal sponsor's agreement runs out. I would like to update t