Sidecar file missing - correct status on selected items

Hello,
how can I correct the 'sidecar file missing' issue on several selected items in a LR2.3 Catalog?
With an external program named 'exiftool' I have manipulated xmp data (xmp:urgency) on selected images by means of a filelist.
During this process LR was running and the LR catalog setting was set to 'automatically write changes to xmp'.
Before Exiftool writes into an exisiting file, it creates a copy and renames the file ending with '_original'.
Hence, since LR was running LR was aware of what's going on and took notice of the changes for each file.
After I verified the process to have completed as anticipated, I went to delete the '_original' copies.
Back in LR the question-mark icon appeares for the manipulated files (that are fully intact - not a problem there).
Clicking the question-mark on a catalog item provides two choices:
- continue tracking
- forget (meaning clearing the link to the missing file).
So far so good. But what about when this is the case for many items?
Selecting these items and then clicking the question-mark does not apply the selected choice 'forget' the selected items.
I wonder if there is another way of getting rid of this question-mark (indicating missing links).
I am aware of the workaround of simply removing the items in question from the catalog and reimport them (synchronize folder).
Tried to importing the metadata from disk, but that does not help in this case (this is logical and correct).
But I also wonder why this function cannot be applied to a selection of items while most other functions can.
Feedback is appreciated.
Thanks for your attention.
Hans.

On my friend's server 9, the initals are selected in the drop down when the page loads. On our server 7, the initials are not selected and just the first option that says "PNR Initials" is displayed in the drop down when the page loads. So if the initials "AG" are entered into the database already, the initials "AG" should be displayed in the drop down menu when the page opens. We are using the exact same code at my company and my friend's company, but it only works at his place, but not mine and we're not sure why other than the fact that he has Cold Fusion Server 9 and we have Cold Fusion Server 7.
Andy

Similar Messages

  • "Sidecar file missing" - LR 1.1 can't read XMP files

    I am getting a "sidecar file missing" icon for 150 out of 2,500 photos I've imported into Lightroom. The .XMP files are present in the same folders as the photographs, LR is just not recognizing them. It is just a few files from several different folders, but not all the files in any folder. The photos appear as "Missing Files" in the Library heading on the left panel in Library mode.
    The metadata appears correctly saved in the LR cache. I have tried writing the metadata from the cache to the disk, but that does not help. If I try to import the files or folders again, Lightroom will not allow it saying that the images are already in the catalog.
    Sometimes I add metadata (i.e. rankings) to the files in IMatch 3.6, but I seriously doubt that has anything to do with this problem.

    Robert, thanks for the reply. I did find a work-around, eventually, but still haven't figured out what went wrong; I'm still investigating that.
    The work-around:
    1) I went to the Missing Files "filter" in Library mode.
    2) I selected the missing files
    3) I went to "Metadate/Write to File" and chose that.
    4) If Lightroom said that the metadata had been updated in a different program, I chose the "Overwrite" option.
    5) I then Removed the selected files from the Catalog (Alt-Backspace on my PC)
    6) I then Imported the folder(s) with the missing files again.
    Lightroom then read the XMP files without a problem.
    I previously had tried your suggestion of opening the file in Breezebrowser Pro, modifying the metadata and saving the file. This did not cause Lightroom to able to read/find the XMP files.
    I printed out various versions of the XMP files from instances where Lightroom could and could not find the XMP file and am going to compare them when I get a chance.
    Thanks for your help

  • LR2.7 "Missing Sidecar Files" issue

    Hello,
    LR2-7, Win32 Vista:
    in a folder of 182 photos within catalog of 16 k photos:
    suddenly, most photos show in Library view and the stripline a top right corner question mark and icon stating "sicedar file missing". In Catalog preferences the checkbox for "automatically write changes to XMP files" is not set (was never set), the folder does not contain any other files than the photos:
    - in the beginning of this problem, these were cr2 files. It was then possible, to click on the icon/questionmark and trigger a dialogue "forget sidecar / continue?"  but only for single files, NOT for a selection on click - come on.
    - I converted the entire folder to dng files (my usual setting), NOW, the question marks all are still there, but NO dialog available any more on click.
    - I pressed ctrl-S to create a sidecar file - zero reaction, nothing. Is there a secret place for sidecar files I would have to know?
    I can of course remove photos from the catalog, and re-sync - this cures the issue.
    - Up until now, I had a reliable catalog of approx. 16k photos - is this the end of it? I do do backups, but I can't afford a "sometimes" performance of Lightroom.
    - what do I do about development settings already done when removing /re-syncing photos to get rid of the icons and "missing sidecars" (I don't miss them, why does LR)??
    Anyways, this issue pops up on the forum on 1.1 and 2.3 versions... any sugggestions how to go about this on 2.7? Is this a feature?
    thanks,
    Gerd

    Dear dj_paige,
    thank you for your note,
    please see my comment to your email below in your text
    DNG photos do not have sidecar files. So, their absence is not a problem.
    - I know, I never generated any sidecar files and understand that there should be none for DNG. However, for the CR2 files, LR displayed the prominent ? and tooltip "sidecar file missing", and this persists even after converting to DNG.
    I'm not sure what problem re-synching will cure. I do not recommend you "remove photos from  the catalog, and re-sync", as you lose information that is catalog only (such as collection membership, edit history, color labels, pick flags and a few other things). In fact, I think it is a terrible idea.
    - agreed. For this reason, I sent a note to the forum
    If your catalog within Lightroom is working properly (and you haven't really convinced me that there is anything wrong), then again I don't know what the problem is.
    - See above: for the CR2 files, LR displayed the prominent ? and tooltip "sidecar file missing", and this persists even after converting to DNG. Nothing else is wrong, HOWEVER, this icon and message is nonsense and should not be displayed
    It sounds as if you are using the metadata as some form of backup of your catalog. It is not a backup; metadata enables you to share *some* information from your Lightroom with other applications. Other information in your catalog is not stored in the metadata written to files. The only way to create a backup of your catalog is to actually make a backup of the catalog file, which is a Lightroom option you can turn on. I consider making backups of your catalog file to be mandatory.
    - NO, your assumption is incorrect. I do backup the entire catalog file.
    Best regards,
    Gerd

  • Missing sidecar - remove missing file status

    I have raw files that had metadata written to XMP sidecar files, the XMP are now missing, and I don't want to have LR create new sidecar files. The files show up as missing in the catalog. How can I get rid of the missing status and the little "metadata status warning" icons without having to write new sidecar files? If I can't that's pretty insidious and I would call it a bug.
    Thanks

    Writing to xmp and then deleting the xmp is how I got to this stage. They show up in the Missing Files folder in the library tab of the library module. If I hover over the little question mark icon it says sidecar file is missing. If I click on the question mark it writes the metadata to xmp, even if "auto write changes to xmp" is unchecked in the catalog settings>metadata preferences.
    But there's no way to delist them from missing files without creating a new xmp, as far as I can tell. You're basically stuck with "missing files" warning forever unless you create new xmps.
    It's pretty annoying. I'd call it a bug. Essentially it's probably just a scenario that wasn't considered or accounted for in development. Creating missing file folder on demand - I like that.
    Thanks for your input, let me know if you come up with anything

  • Attach File to the selected item

    Hi all,
    To attach file to the Puchase order, i am using
    1- BBP_PD_PO_GETDETAIL ( PO Guid )
    2- BBP_PD_PO_UPDATE ( E_HEADER + IT_ATTACH  with PO Guid )
    3- BBP_PD_PO_SAVE ( PO Guid )
    4- Commit
    and it works Fine
    Now when i want to attach this file to the selected PO Item by making the same prossess it's not working (By passing the PO ITEM Guid into IT_ATTACH )
    Am I missing some parameters to attach the file to the selected item  ?
    Best regards

    Thanks for help!
    From my experience I can notice that Apple has an excellent support team, but it doesn't listen it's consumers. This is 3rd generation iPad, but this feature still doesn't exist. I've had a better opinion about this company.
    IMHO this feature is a basic function of any other mail program. About 7 years ago I had a simple mobile phone with mail client which supported this function, but costed about 100$. Now I hold in my hands device with price ten times higher but it's native mail client doesn't have this feature.
    Different Android, Windows devices allow to do this, but iPad doesn't.

  • How to convert an excel file where customers have partial access for selecting items.

    Please Advise,
    I have created an excel file with columns that calculates price and quantity. I need to know how my customers can access the file without seeing all my calculations, etc. and just select the number of items. I need to keep my excel formula info confidential and at the same time having the customers the ability to select the items.
    This excel file will be placed on my web site and linked where customers have access to it. They make their selections and emailed back for processing.with their selected items. If the excel file is converted into a pdf file, Then placed and linked for customer access how can customers have partial access and select in certain columns and have excel fuction for calculations?
    Thanks,
    Dan

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Missing sidecar files

    I've just discovered a few directories containing my CR2 Raw files are showing a question mark in the Lightroom Gallery. This says that
    "The following files (related to this photo) were present before, but are now missing", with the name of the .xmp file, and "The photo negative file is still present. Do you want to forget about the sidecar files, or continue to track them?"
    I searched the forum and found one question on the same issue, but no answer.
    I have copied over a few of these files from by back-up directory, but the question marks have not dissappeared.
    Any ideas how I might have done this. (I didn't knowingly delete xmp files). and how can I rescue the situation. Do I risk losing my keywording and devlop settings?
    Thanks
    Colin

    I'm pretty certain that the ? does not relate to the image's location being moved, as there has been no movement there at all.
    The xmp files in fact contain GPS data. TThe images still show the gps data in the metada column so does that mena the lrcat file hold that as well?
    If so it seems that I can tell LR to "Forget" the xmp file.
    Is there a way to find all images where the sidecar is missing?
    Ta
    Colin

  • Sidecar file for DNG missing?

    Currently I'm a little bit confused about what is happening to my LR cat.
    After I have detected VCs with out of sync metadata in my LR catalog - see http://www.adobeforums.com/cgi-bin/webx/.3bc4bbeb
    now it shows up a DNG-image with the question mark on top right of the thumbnail in grid view. Moving up the mouse over the icon gives me the hint that the sidecar file is missing!
    The DNG has modified develop settings and metadata (after import). So far so good. In metadata panel it says that I (should) have an .xmp sidecar for this DNG.
    My problem: I thought that I have read that DNG get all develop-settings and metadata written as xmp directly into the DNG-file - not into sidecar xmp.
    LR1.1 on WinXP SP2.
    Harald

    I just recognized that LR seems to maintain 2 classes of DNGs.
    a) DNGs I converted from CR2 upon import process are marked as "Digital Negative (DNG)" in metadata field for file format.
    b) DNGs which I previously converted from CR2 to DNG using ACR converter some time ago are marked as file format "RAW".
    The DNG which causes the trouble as mentioned above is one of the category b, so it is converted by ACR converter before import into LR.
    Does LR behave as intended by design? Is Adobe even aware of this behavior?
    Harald

  • Imported images from card reader to PC. When I select an image and click on EDIT i get "serching for missing file"               missing file"

    Why are the files missing?

    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • No selectable items exist for purchase requisition l_banfn

    Hi,
    While creating PO with ref to PR getting the below error :
    no selectable items exist for purchase requisition l'banf .
    Checked if the PO is created, its not created,.
    checked if the item is blocked/cancelled/deleted. Nothing is set.
    PR looks fine. Dont know if any authorization data is missing?

    Check the status tab in ME53N whether all the qty in PR are already used up
    Or
    Check the line item in PR whether it is deleted
    Edited by: Karthik on Jul 20, 2011 12:37 PM

  • Document 4500016031   does not contain any selectable items

    Hi Friends,
    I am doing MIGO(godds receipt) and adopted following procedure for MIGO.
    ME5J----->(Entered my Proj. defn---> executed
    Select material T-20610.
    Click the "Assign automatically" pushbutton.
    Assign materials T-20620 and T-20630 the same way.
    Display the overview of the assignments and then create the purchase order.
    Click the "Assignments" pushbutton.
    The purchase requisitions are sorted in the overview according to their assignments. You can create new purchase orders by clicking the "Process assignment" pushbutton.
    Place your cursor on the line below vendor "C.E.B.".
    Click the "Process assignment" pushbutton.
    Confirm the first dialog box by clicking the "Continue" pushbutton.
    If another dialog box appears, click "New purchase order".
    The purchase order appears.
    On the left-hand side of the overview, select your three purchase requisitions and copy them to the purchase order.
    Click the "Copy" pushbutton.
    Save the purchase order.
    Click the "Save" pushbutton.
    The purchase order number appears in the status bar.
    Make a note of the order number:   ____4500016031________
    Now I got the PO as per above procedure Now While I am doing  MIGO---Goods receipt am getting the below message.
    Any pointers is appreciated and will be rewarded.
    Document 4500016031(PO)   does not contain any selectable items                                                                               
    Message no. M7064                                                                               
    Diagnosis                                                                               
    The document or document item entered cannot be adopted.                                                                               
    Possible reasons for this are:                                                                               
    o   The document items have already been processed                     
            (Suggest zero lines indicator set?).                                                                               
    o   the document items have been deleted or are blocked.                                                                               
    o   the document items have been created for a different plant.                                                                               
    o   (for reservations only) movements are not yet allowed for the      
            reservation items.                                                                               
    o   (for reservations only) the document items are retrograde components 
         of the order. These are posted using the order confirmations.                                                                               
    o   A confirmation must exist for the document items.                                                                               
    o   The document items must be released first.                                                                               
    o   The document is an R/2 document.                                                                               
    Procedure                                                                               
    Make sure your entries are correct.                                                                               
    o   If the system has already processed the total quantity, you can set  
         the Suggest zero lines indicator. The system will suggest the        
         quantity zero for the items that have already been processed.                                                                               
    o   If you have entered a particular item, cancel the item. If you do    
         not enter an item, the system searches all of the open items in the  
    o   If the document is a purchase order, production order or a            
         reservation, you can enter search criteria in the dialog box.         
         You access the dialog box by choosing Enter with reference on the     
         initial screen.                                                                               
    o   If the document is an SAP R/2 document, you have to cancel it         
         manually by entering the reversal movement type.                      
    Regards

    Hi
    Check item level Confirmation tab I think this PO is activated for Inbound delivery or Confirmation control
    vIVEK

  • How do I force lightroom to (re)load an XMP sidecar file?

    Good morning from Boston!
    I am new to Lightroom and just finished importing my Aperture library into Lightroom 5 on a Mac. For that, I followed the instructions on Adobe's landing page and Lightroom solutions. For those not familiar with the instructions, you essentially export all your originals with an XMP sidecar file and then export all the adjusted/edited files as 16-bit TIFFs. Then you add them all back into Lightroom and get everything back into Catalogs, Labels, Ratings, and such by using keywords that were added while in Aperture. It took forever, but worked pretty well overall. I had about <1% fewer images in LR5 than in Aperture, which were likely suspected duplicates. So far, so good.
    Here's is my problem. My keywords didn't always transfer over (the Keywording panel is empty). I did search forums and plug-ins, but seem to only find issues related to EXIF and GPS data. I also used "Metadata:Read Metadata from File" and "Metadata:Update DNG Preview & Metadata," which didn't do anything. I am suspecting that "Read from File" means "read from the image file itself but not from the sidecar file." Take file IMG_5888 as an example. This particular one was taken as RAW (.CR2) + JPEG on a Canon Rebel XS, but I am having the same issue with RAW only on my Canon EOS 6D. Same goes for JPG + XMP. Puzzling thing is that other files loaded just fine.
    In the directory/folder where the file is, it looks like this:
    IMG_5887.CR2
    IMG_5887.JPG
    IMG_5887.XMP
    IMG_5887.dng
    IMG_5888-2.JPG
    IMG_5888.CR2
    IMG_5888.JPG
    IMG_5888.XMP
    IMG_5888.dng
    IMG_5889-2.JPG
    IMG_5889.CR2
    IMG_5889.JPG
    IMG_5889.XMP
    IMG_5889.dng
    The .dng were generated by Llightroom. Now, the sidecar files typically have something like so in them (I cut out some keywords for clarity—you get the idea):
    <rdf:Description rdf:about='' xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>
    </rdf:Description>
    <rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1/'>
      <dc:subject><rdf:Bag>
      <rdf:li>Black Head Trail</rdf:li>
      <rdf:li>Cliffs</rdf:li>
      <rdf:li>Maine</rdf:li>
      <rdf:li>Monhegan</rdf:li>
      <rdf:li>RAW</rdf:li>
      <rdf:li>Sunrises</rdf:li>
      <rdf:li>United States</rdf:li>
      <rdf:li>Waves</rdf:li>
      </rdf:Bag></dc:subject>
    </rdf:Description>
    So, the keywords were exported from Aperture, but for some reason, Lightroom isn't always loading them from the XMP file.
    On a related note, the keyword hierarchy that was exported as text file from Aperture and imported into LR5 worked well. Everything appears to be there and in its place.
    Any ideas for a Lightroom rookie as to how I can get LR5 to read those XMPs? Over 20,000 didn't tag, so I would rather not do this by hand!
    Many thanks in advance,
    Paul

    John, what a pleasure. Well, here is the update. First, copying over 300GB of pictures to a drive and then backing up said drive takes a bloody long time. But here is what happened, for others who might run into the same issue.
    I first tried a small set of files to narrow down whether the issue was the Aperture export or the Lightroom import.
    Conclusion: the "issue" is mostly on the Lightroom side.
    What I found: Although Aperture will export an XMP sidecar for a JPEG, Lightroom will not read it, ignoring all keywords. I exported a set of JPEGs only and then opened the XMPs with an editor (well, the UNIX cat command, to be exact). The information was there, keywords and all. However, LR appeared to ignore XMP for JPEG. That said, if you have a RAW+JPEG in Aperture, the RAW XMP sidecar will overwrite the JPEG one, effectively leaving you with only the keywords for the RAW version. That shouldn't be an issue for most, but just in case you have different keywords for your RAW and JPEG images, be aware of this.
    What I did:
    Back up all the images and catalogs/libraries from Aperture and LR.
    Make sure #1 worked out.
    Make sure #1 worked out (not a typo; you really need a backup, as you will find out below).
    Delete the old JPEG files that were uploaded into LR. I had them in a From Aperture folder, as instructed by John's article and Adobe's landing page (referenced in John's article), so I deleted all JPEGs in that folder. My Aperture database was not affected and in fact resides on a different drive.
    Run find . -iname "*.JPEG" -delete   [if you do not know how 'find' works, ask someone, as this can potentially delete every single file accessible to your computer!]
    Run find . -iname "*.JPG" -delete    [ditto! Don't tell me I didn't warn you!]This is why you need to backup everything. I was deleting copies/exports of the originals in Aperture (again, read John's article for the difference) and still had the originals in Aperture, on a different drive.
    [I didn't worry about the unmatched/orphaned XMP files for the JPEGs only; they are tiny and don't hurt.]
    In LR, select 'Library:Find All Missing Photos.' If asked, remove them from the Catalog only.
    Create a Smart Album in Aperture and include only 'Filetype is JPG.'
    Select all images in that album.
    Export those original images per Adobe's landing instructions, but for this set of images, select 'Include IPTC' instead of creating a sidecar file.
    When Aperture is done, open LR and Add the whole 'From Aperture' folder back to LR (make sure 'Ignore suspected duplicates' is selected.
    John, as you rightfully pointed out, this is tricky. If my experience is any indicator, I would suggest migrating in 3 steps:
    Export all RAW originals with IPTC in XMP sidecar files.
    Export all non-RAW originals (which I would guess are mostly JPEGs) with IPTC included. (not a sidecar)
    Export all versions as 16-bit TIFF.
    If #2 is added, then the process is actually most straightforward. Steps 1–5 in the first block above were to clean up the mess that I had created and should not happen otherwise (famous last word...)
    If the above is unclear, please let me know and I will expand on it. If I had the issue, I suspect others will as well.
    Thank you for your help and suggestions. I am officially migrated to LR and up and running!
    Cheers from Boston,
    Paul

  • Write xmp sidecar files without need to export masters - script

    I've written a script to write xmp sidecar files for referenced and online images (the 2 conditions in the script) of the selected images. I looked for a while at system events and other stuff to be able to write the xmp file, but i'm not a programmer, so in the end i chose the long and dirty way to do it.
    This script will export all iptc expanded fields as aperture does (creating basically the same file). It can be easily adjusted to include other tags, even custom ones. I don't know how to get at the adjustments for images, otherwise those could be included as well.
    If anyone has the energy to clean this up and make it faster, feel free to do so. Next, I'm going to try to write a script to do the opposite, import xmp sidecars for imported online and referenced files.
    Here it goes (thanks to Brett Gross for the database part to find the master filename):
    --script to create sidecar xmp files for referenced files without having to export masters. parts of the script (finding the file name) are by brett gross
    property p_sql : "/usr/bin/sqlite3 "
    global g_libPath
    on run
    my getLibPath()
    --counter for processed images, reset, just in case
    set mastercount to 0
    tell application "Aperture"
    if not (exists selection) then
    display dialog "You have to select at least one image" buttons {"OK"} default button 1
    return
    else
    display dialog "You have selected " & (count of selection) & " images." & return & "Continue?" default button 1
    end if
    set theSel to selection
    --run through the selected images
    repeat with currentpic from 1 to count of theSel
    tell item currentpic of theSel
    -- only apply to referenced and online images
    if referenced and online then
    set mastercount to mastercount + 1
    set curID to id
    --find the master file path and name - this part by brett gross, thanks
    set libPOSIX to POSIX path of g_libPath
    set libDBPOSIX to (libPOSIX & "/Aperture.aplib/Library.apdb") as string
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZFILEUUID from ZRKVERSION where ZUUID='" & curID & "'\""
    set ZFILEUUID to do shell script theScript
    # ---------- Get the master's path
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZIMAGEPATH from ZRKFILE where ZUUID='" & ZFILEUUID & "'\""
    set ZIMAGEPATH to do shell script theScript
    # ---------- Get the master's disk name
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZFILEVOLUMEUUID from ZRKFILE where ZUUID='" & ZFILEUUID & "'\""
    set ZFILEVOLUMEUUID to do shell script theScript
    set theScript to p_sql & (quoted form of libDBPOSIX) & " \"select ZNAME from ZRKVOLUME where ZUUID='" & ZFILEVOLUMEUUID & "'\""
    set diskName to do shell script theScript
    set imgPath to (diskName & "/" & ZIMAGEPATH)
    --end brett gross part
    --strips extension, seems to work for files and paths with more than one period
    set oldlim to AppleScript's text item delimiters
    set AppleScript's text item delimiters to "."
    try --remove last extension only
    set contador to text item -1 of imgPath
    set noExtension to Unicode text 1 thru -((count of contador) + 2) of imgPath
    on error --handle files with no extensions
    set noExtension to imgPath
    end try
    set AppleScript's text item delimiters to oldlim
    --create the file and path name with the .xmp extension for writing
    set xmpPath to "/Volumes/" & noExtension & ".xmp" as Unicode text
    --convert posix path to alias for easier write and read handling
    set xmpPath to POSIX file xmpPath as file specification
    -- header for xmp file
    set xmpheader to ("<?xpacket begin='' id=''?>
    <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9-9, framework 1.6'>
    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>") & return
    -- footer for xmp file
    set xmpfooter to ("</rdf:RDF>
    </x:xmpmeta>
    <?xpacket end='w'?>") & return
    --xmp content, part 1
    --check for existence of iptc tags, create content or empty string depending on existance of tags
    if (exists IPTC tag "Contact") or (exists IPTC tag "Country/PrimaryLocationCode") then
    set xmpcontentpartone to ("<rdf:Description rdf:about='' xmlns:Iptc4xmpCore='http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/'>") & return
    try
    set CountryCode to value of IPTC tag "Country/PrimaryLocationCode"
    set xmpcontentpartone to xmpcontentpartone & tab & "<Iptc4xmpCore:CountryCode>" & CountryCode & "</Iptc4xmpCore:CountryCode>" & return
    end try
    try
    set CreatorContactInfo to value of IPTC tag "Contact"
    set xmpcontentpartone to xmpcontentpartone & tab & "<Iptc4xmpCore:CreatorContactInfo>" & CreatorContactInfo & "</Iptc4xmpCore:CreatorContactInfo>" & return
    end try
    set xmpcontentpartone to xmpcontentpartone & ("</rdf:Description>") & return
    else
    set xmpcontentpartone to ""
    end if
    --xmp content, part 2
    --check for existence of iptc tags, create content or empty string depending on existance of tags
    if (exists IPTC tag "Category") or (exists IPTC tag "City") or (exists IPTC tag "Country/PrimaryLocationName") or (exists IPTC tag "Credit") or (exists IPTC tag "DateCreated") or (exists IPTC tag "Headline") or (exists IPTC tag "Province/State") or (exists IPTC tag "Source") or (exists IPTC tag "SpecialInstructions") or (exists IPTC tag "SupplementalCategory") or (exists IPTC tag "Writer/Editor") then
    set xmpcontentparttwo to ("<rdf:Description rdf:about='' xmlns:photoshop='http://ns.adobe.com/photoshop/1.0/'>") & return
    try
    set Category to value of IPTC tag "Category"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Category>" & Category & "</photoshop:Category>" & return
    end try
    try
    set City to value of IPTC tag "City"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:City>" & City & "</photoshop:City>" & return
    end try
    try
    set Country to value of IPTC tag "Country/PrimaryLocationName"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Country>" & Country & "</photoshop:Country>" & return
    end try
    try
    set Credit to value of IPTC tag "Credit"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Credit>" & Credit & "</photoshop:Credit>" & return
    end try
    try
    set DateCreated to value of IPTC tag "DateCreated"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:DateCreated>" & DateCreated & "</photoshop:DateCreated>" & return
    end try
    try
    set Headline to value of IPTC tag "Headline"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Headline>" & Headline & "</photoshop:Headline>" & return
    end try
    try
    set State to value of IPTC tag "Province/State"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:State>" & State & "</photoshop:State>" & return
    end try
    try
    set Source to value of IPTC tag "Source"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Source>" & Source & "</photoshop:Source>" & return
    end try
    try
    set Instructions to value of IPTC tag "SpecialInstructions"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:Instructions>" & Instructions & "</photoshop:Instructions>" & return
    end try
    try
    set SupplementalCategory to value of IPTC tag "SupplementalCategory"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:SupplementalCategory>" & SupplementalCategory & "</photoshop:SupplementalCategory>" & return
    end try
    try
    set CaptionWriter to value of IPTC tag "Writer/Editor"
    set xmpcontentparttwo to xmpcontentparttwo & tab & "<photoshop:CaptionWriter>" & CaptionWriter & "</photoshop:CaptionWriter>" & return
    end try
    set xmpcontentparttwo to xmpcontentparttwo & ("</rdf:Description>") & return
    else
    set xmpcontentparttwo to ""
    end if
    --xmp content, part 3
    --check for existence of iptc tags, create content or empty string depending on existance of tags
    if (exists IPTC tag "Byline") or (exists IPTC tag "Caption/Abstract") or (exists IPTC tag "CopyrightNotice") or (exists IPTC tag "Keywords") or (exists IPTC tag "ObjectName") then
    set xmpcontentpartthree to ("<rdf:Description rdf:about='' xmlns:dc='http://purl.org/dc/elements/1.1/'>") & return
    try
    set creator to value of IPTC tag "Byline"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:creator><rdf:Seq><rdf:li>" & creator & "</rdf:li></rdf:Seq></dc:creator>" & return
    end try
    try
    set description to value of IPTC tag "Caption/Abstract"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:description><rdf:Alt><rdf:li xml:lang='x-default'>" & description & "</rdf:li></rdf:Alt></dc:description>" & return
    end try
    try
    set rights to value of IPTC tag "CopyrightNotice"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:rights><rdf:Alt><rdf:li xml:lang='x-default'>" & rights & "</rdf:li></rdf:Alt></dc:rights>" & return
    end try
    --keywords, slightly different, as they need to be written as a list and not as a string
    --i don't think it's a problem if we create an empty list if there are no keywords present.
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:subject><rdf:Bag>" & return
    --make list item for every keyword
    try
    repeat with n from 1 to count of keywords
    set cursubject to name of (keyword n)
    set xmpcontentpartthree to xmpcontentpartthree & tab & tab & "<rdf:li>" & cursubject & "</rdf:li>" & return
    end repeat
    end try
    set xmpcontentpartthree to xmpcontentpartthree & tab & "</rdf:Bag></dc:subject>" & return
    try
    set title to value of IPTC tag "ObjectName"
    set xmpcontentpartthree to xmpcontentpartthree & tab & "<dc:title><rdf:Alt><rdf:li xml:lang='x-default'>" & title & "</rdf:li></rdf:Alt></dc:title>" & return
    end try
    set xmpcontentpartthree to xmpcontentpartthree & ("</rdf:Description>") & return
    else
    set xmpcontentpartthree to ""
    end if
    --part four. aperture doesn't seem to export anything there
    set xmpcontentpartfour to "<rdf:Description rdf:about='' xmlns:photomechanic='http://ns.camerabits.com/photomechanic/1.0/'>
    </rdf:Description>" & return
    --part five. rating
    set xmpcontentpartfive to "<rdf:Description rdf:about='' xmlns:xap='http://ns.adobe.com/xap/1.0/'>" & return
    try
    set Rating to main rating
    set xmpcontentpartfive to xmpcontentpartfive & tab & "<xap:Rating>" & Rating & "</xap:Rating>" & return
    end try
    set xmpcontentpartfive to xmpcontentpartfive & "</rdf:Description>" & return
    --join everything
    set xmptext to xmpheader & xmpcontentpartone & xmpcontentparttwo & xmpcontentpartthree & xmpcontentpartfour & xmpcontentpartfive & xmpfooter
    --write file
    my writexmpFile(xmptext, xmpPath)
    end if
    end tell
    end repeat
    display dialog "Processed " & mastercount & " referenced and online image(s)." buttons {"OK"} default button 1
    end tell
    end run
    -- write xmp sidecar file routine
    on writexmpFile(theContents, xmpFileName)
    --tell application "Finder"
    try
    open for access xmpFileName with write permission
    set eof of xmpFileName to 0
    write (theContents) to xmpFileName starting at eof
    close access xmpFileName
    on error
    try
    display dialog xmpFileName
    close access xmpFileName
    end try
    end try
    --end tell
    end writexmpFile
    --this part copied from Brett Gross-------------------------------------------------------------------------- --------------------------------
    on getLibPath()
    tell application "System Events" to set p_libPath to value of property list item "LibraryPath" of property list file ((path to preferences as Unicode text) & "com.apple.aperture.plist")
    if ((offset of "~" in p_libPath) is not 0) then
    -- set p_posix to POSIX file p_libPath
    set p_script to "/bin/echo $HOME"
    set p_homePath to (do shell script p_script)
    set p_offset to offset of "~" in p_libPath
    set p_path to text (p_offset + 1) thru -1 of p_libPath
    set g_libPath to p_homePath & p_path
    else
    set g_libPath to p_libPath
    end if
    end getLibPath
    --end brett gross part

    imigra wrote:
    I've written a script to write xmp sidecar files for referenced and online images (the 2 conditions in the script) of the selected images. I looked for a while at system events and other stuff to be able to write the xmp file, but i'm not a programmer, so in the end i chose the long and dirty way to do it.
    This script will export all iptc expanded fields as aperture does (creating basically the same file). It can be easily adjusted to include other tags, even custom ones.
    Excellent stuff!
    I don't know how to get at the adjustments for images, otherwise those could be included as well.
    They are stored as binary data in the Version XML files at the bottom level of the Library package. You can also have a look around in the ZRKIMAGEADJUSTMENT table, but again the actual settings for each adjustment are in binary form.
    If anyone has the energy to clean this up and make it faster, feel free to do so.
    As far as I can remember, Aperture uses the 'proper' IPTC tag names when accessing them via AppleScript, so you may be able to do a loop through all the IPTC tags for each image, rather than picking out each specific one. But that would need checking. The EXIFTools site is a good place to find out about the different ways that IPTC data can be described.
    Next, I'm going to try to write a script to do the opposite, import xmp sidecars for imported online and referenced files.
    Don't rush unless you feel like it - I've already started planning out a free (as in beer and speech) XMP importer with a GUI so that you can choose how to map the XMP CORE tags that don't exist in Aperture. You've given me an extra idea, though - if we can decide on a set of custom tags, my importer could map the XMP CORE tags to them and your exporter could export those tags.
    Thanks for the work!
    Ian
    P.S. I'll check through your script tomorrow, some of the database tables changed between 1.5.6 and 2.0, so you might need to add in a version check to be really thorough.

  • SHOW ALL / HIDE ALL BUTTONS produce error in chm but not in "View Selected Item"

    My SHOW ALL and HIDE ALL buttons work in the View Selected
    Item mode. However, the compiled version generates an error tag:
    Line: 72
    Char: 1
    Error: Object expected
    Code: 0
    URL:
    mk:@MSITSTORE:C\Documents%20and%20Settings\glenn_michaels\RoboHelp%206.0\TCA\!SSL!
    In short, the the compiled chm is located in the SSL. I tried
    adding showhide.js and ehlpDhtm.js to the SSL folder, but that
    didn't make a difference. What is missing? How do I fix this?
    Many thanks in advance...
    glennito

    Mr. Grainge,
    I've tried to follow your instructions to the letter, but I'm
    not having any luck.
    1) I copied the showhide.js to
    a) RoboHelp 6.0 > Project Folder
    b) RoboHelp 6.0 > Project Folder > SSL
    c) RoboHelp 6.0 > Project Folder > SSL >
    MicroSoft_HTML_Help
    2) I pasted btnhideall.gif, btnshowall.gif, printerblue.gif
    into
    a) RoboHelp 6.0 > Project Folder > SSL
    b) they are also listed in RoboHelp 6.0 > Project Folder
    3)The Project Manager > Baggage File originally displayed
    a
    a) Project (Name) folder
    b) ehelp.xml
    c) RoboHHre.Ing
    I opened the Baggage File > Project (Name) folder,
    selected New Baggage File, and added, respectively:
    i. btnhideall.gif
    ii. btnshowall.gif
    iii. ehlpDhtm.js
    iv. printerblue.gif
    v. printerred.gif
    vi. showhide.js
    vii. TCA.fpj
    vii. root.fpj
    4) I also opened rhbag.apj in Notepad. It shows
    a) ehelp.xml and RoboHHRE.Ing accompanied by
    <usercreated>false</usercreated> tags
    b) the remaining baggage files are accomanied by
    <usercreated>true</usercreated> tags
    5) Finally, I used Notepad to display two topic files in
    which the error message identified a Line: XX. In one case the line
    # is 42, in another, 19. In both cases, when I counted lines,
    starting with <body>, I ended up on:
    onClick="JavaScript:hideEm()"
    However, I am none the wiser for my effort and don't know
    what (5) might be telling me.
    6) The only thing I can think of is that the compiled chm
    file is two levels away from the Project Name directory that holds
    all the files. The files live in Robohelp 6.0 > Project Name
    while the compiled help is found in Robohelp 6.0 > Project Name
    > SSL! > MicroSoft_HTML_Help > Project Name.chm.
    Should I be adjusting the Relative Path within the topics?
    Many thanks for your attention and assistance.
    glenn

  • Automatic Selected Item of List Builder Component Does not work (anymore)

    Hi all,
    Í'm working with Xcelsius Engage 2008 (version 5.3.2.0) and the automatic selection of an item at runtime of the list builder component does not work anymore. In a previous version it worked very well.
    Here's the case: at runtime I want that the list builder component automatically puts the first item in the list to the destination section and selects it, so that a graph can show the underlying pushed data. In the previous version it worked o.k., but now at runtime the destination section remains empty at startup. If I interactively select an item from the source section to the destination section and update the list builder, the data is shown correctly, but it must done automatically, which worked o.k. in an earlier version of Xcelsius 2008...
    This are my settings of the list builder component (which was running correctly earlier..):
    -at the general tab I defined a range of labels
    -at the general tab I defined 2 data column insertion series
    -at the behaviour-common tab I defined selected items: position mode; items: the first item of the label list; insert items at runtime
    -all of the data comes from an external xml data source
    You can find an example of the visualisation at: http://onderzoek2.evinet.nl/projecten/10169/dynarap.htm. You will see that at start-up there is no item visible and selected in the destination section of the list builder....
    I've tried every combinations of settings, build up the component from scratch, but its not working (anymore).
    Greetings Erik-Jan Vriens

    Hi njnits,
    Print view button is a standard component of Xcelsius: look at it in the IDE
    Exporting to Powerpoint is also a standard functionality, so yes. For this particular dashboard/report all data resides in an external xml-file which have to be accessible for Powerpoint
    All visualisations, not only the table,  in this/report fetch their data from an external xml-file, but a QaaWS-connection will also do the trick. You will have to write this dedicated service. In our case the xml-data is also generated automatically.
    The external data is best defined as a sort of matrix, consisting of approx. 100 columns by 1000 rows. I agree it takes a lot of Xcelsius but it does the job....
    Hopes this info helps....

Maybe you are looking for

  • How to Fill Text in Pop UP Window

    Hi Friends, My Requirement is to display Purchase Requisition Header text in POP UP Window in SRM ,  i used RFC_READ_TEXT  function module , data is coming into internal table,  but not able to fill the text in POP up Window, its giving DUMP, Cn any

  • Workflow problem

    Hi! I am working in SRM 5.0 with Server 5.5 and I have a problem with the workflow approval... I activate the workflow WS 10400010 without approval. And when I go to confirm the good, the workflow trows an error message that the workflow not started.

  • Bridge doesn't like gif

    My Bridge doesn't like gif extensions on the pictures. He cal-laps, the program re-installed on my mac, but the same problem. By gif it stops and I have to forced stop to quit the program. hen open again and the same problem appears. jpg. or png ole

  • I cant download anything, what is the problem

    I tried downloading microsoft office trial and a driver for a printer. no luck with either.

  • Unusual Pricing requirement!!

    Hi MM gurus, We are facing a problem in pricing. Your urgent help needed. Business got a vendor who gives discount on base price against which no tax will be levied. This means BASB condition ( BASE AMOUNT for tax)used in tax procedure should not inc