Applescript, XMP, and custom namespaces

Having had to switch gears from JS to AS to solve a database integration problem, I could use some help getting specific XMP out of my AI files via AppleScript. Extracted this from the InDesign forums... doesn't work for illustrator (gives error "expected expression but found property")
tell links
            set InhouseClient to get property link xmp namespace "http://ns.Inhouse.com/Inhouse" path "Client"
end tell
I know I can dump the whole XMP string with:
set XMPStringData to (get XMP string of current document)
but I'd rather do something like the first example. If I were in JS, I'd use
var property = myXmp.getProperty(propertyuri, propertyname, XMPConst.STRING);
The syntax looks pretty close to the first AppleScript, but why is it choking on the "property" when inside a "tell Illustrator" when is works inside a "tell InDesign"?

Thanks for the suggestions Mark.
Here's the situation. We have approx 1TB of various files on multiple partitions of a server. I'm creating a library (FileMakerPro) to use as a search engine for specific AI files and associated metadata scattered throughout the server. We have a pattern of folders where the AI files I need live (jobFolder/Graphics/filename.AI), but these are nested in a variety of places.
I'm using set folderList to (folders of entire contents of (startFolder) whose name is "Graphics") as alias list to get a list of eligible folders to search, then checking to see if AI files are present, then adding the AI files to a list of file paths. This list is the source for other scripts to be called by Filemaker to extract the custom XMP, find and link to the preview (already generated in a separate folder).
Current times to ingest small sets of graphic paths using this method:
Set 1, found 160 eligible folders with 1600 files in 44 minutes, or 17 seconds per folder/1.6 seconds per graphic.
Set 2, found 310 eligible folders with 3800 files in 82 minutes, or 16 seconds per folder/1.3 seconds per graphic.
Set 3, needs to crawl through about 8 times the number of folders, and can't finish before the server times me out (I pushed the AppleScript timeout to 20 hours, so that's not the problem).
In additon to metadata that has already been defined, I want to capture the full-text of the graphics in the DB for search purposes... so will have to open each file anyway to do that (unless there's another way).
Thanks,
Alex

Similar Messages

  • Using Federated Security in BizTalk against custom Token Provider and Custom Token

    Hi,
    I as the topic states, I'm trying to get BizTalk to use a Custom Token Provider with custom tokens.
    So I thought this would be rather painless using ws2007FederationHttpBinding but got stuck. The problem is that the service expect soap action and a special structure (se example):
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsc="common.namespace" xmlns:ws="securitytoken.namespace">
       <soapenv:Header>
          <wsc:AutHeader>      
    Containing Custom Auth header information tags, about 20 or so
          </wsc:AutHeader>
       </soapenv:Header>
       <soapenv:Body>
          <ws:SECSSecurityTokenCreate_V1_0InputArgs>
             <ws:SecurityTokenCreateRequest>
                <ws:securityToken><!-- signed SAML assertion --></ws:securityToken>
             </ws:SecurityTokenCreateRequest>
          </ws:SECSSecurityTokenCreate_V1_0InputArgs>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <SECSSecurityTokenCreate_V1_0OutputArgs xmlns:ns2="common.namespace" xmlns="tokenservice,namespace">
    <SecurityTokenCreateResponse>
    <securityToken> <!-- THE Custom TOKEN --> </securityToken>
    </SecurityTokenCreateResponse>
    <ResponseState>
    <ns2:ErrorCode>0</ns2:ErrorCode>
    <ns2:Severity>0</ns2:Severity>
    <ns2:ComponentId>201</ns2:ComponentId>
    <ns2:StrErrorCode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
    <ns2:Message>OK</ns2:Message>
    <ns2:NativeError xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
    <ns2:LogSequence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
    </ResponseState>
    </SECSSecurityTokenCreate_V1_0OutputArgs>
    </soap:Body> </soap:Envelope>
    Error Message in BizTalk, when I send message via ws2007FederationHTTPBinding to the SOAP service, as expected the soap structure dosent match the expected one from the server, most obvisly is the missing SOAP action and incorrect BODY element.
    System.ServiceModel.ProtocolException: The content type text/html; charset=iso-8859-1 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 521 bytes of the response were: '<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Body>
    <soap:Fault>
    <soap:Code>
    <soap:Value>Server</soap:Value>
    </soap:Code>
    <soap:Reason>
    <!--1 or more repetitions:-->
    <soap:Text xml:lang="en">Missing operation for soapAction [null] and body element [{http://docs.oasis-open.org/ws-sx/ws-trust/200512}RequestSecurityToken] with SOAP Version [SOAP 1.2]</soap:Text>
    </soap:Reason>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>'. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
    at System.Net.HttpWebRequest.GetResponse()
    at System.Servi
    My plan to solve this is to try using beahviors added to the "inner" wcf binding that will help reconstruct the message from the standard form that I has, but I'm a bit vorried that I start to solve this and later on I'll have to add custom handling
    for token extraction and handling since the token should be placed in a custom header in the soap envelope with custom namespace =).
    So my question is, could this be solved via sw2007FederationHttpBinding or is an orchestration and some custom code for signing the path forward?
    Thanks in advance for any help or guidance!
    /Mattias

    It's a little tough to use sw2007FederationHttpBinding, I faced similar situation before. :(

  • Index for a PSA table is not in the "customer" namespace

    Hi,
    While loading data through infosource 0CO_OM_WBS_1 to
    data target 0IMFA_1 loading failes and the reason given is that the system reads data from PSA table /BIC/B0001060000 of 0IM_FA_IQ_9 and the index generated for this table supplied return code 14.
    I found no notes in the subject - with the syntax :
    Index for a PSA table is not in the "customer" namespace.
    thanks in advance for your help.

    Hi,
    I think you need to speak to your basis guys / DBA as index created on PSA table is not in your tablespace. He should be able to help you.
    Vikash

  • Custom Namespace for WDA

    Hi Team,
    I have created a custom namespace(TEST), by using this namespace i have created my own WDA applications, but when i try to move this applications to QA system, namespace got transfered and applications also available in QA system but i am not able to activate my WDA applications in SICF, because the custom namespace which i transported to QA under SICF->DEFAULT_HOST->SAP->BC->WebDynpro->TEST(Custom Namespace) is not available.
    Please guide me to solve this issue.
    Thanks & Regards,
    Srinivasan R.

    Hi,
    Thanks for the quick replay, i fixed this issue by configuring the FQDN in QA box. namespaces are automatically appeared under SICF.
    Regards,
    Srini

  • Custom Namespace Not Appearing in SICF

    Hi Team,
    I have created a custom namespace(XYZ), by using this namespace i have created my own WDA applications it worked in development, but when i try to move this applications to QA system, namespace got transfered and applications also available in QA system but i am not able to activate my WDA applications in SICF, because the custom namespace which i transported to QA under SICF->DEFAULT_HOST->SAP->BC->WebDynpro->XYZ(Custom Namespace) is not available.
    We faced same type of issue in development first but when we activated the FQDN this issue got resolved, when we done the same steps at quality still we are unable to resolve this issue.
    Please guide me to solve this issue.
    Thanks & Regards,
    Srini

    Hi,
    Have you transported the ICF node from DEV to QA?
    If not, please transport the ICF node and see if it helps.
    Thanks.
    Jim

  • Autogenerate Manifest.xml file for custom namespace

    I am working on a library with custom components and I want the library to have a custom namespace.  From my reading, it looks like I need to create a manifest.xml file to associate by components with a specific namespace. (http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=compilers_123_43.html)
    Is there anyway I can autogenerate the manifest.xml file?  I am using Flex Builder 3 for development.I have a lot of components and I may periodically add and remove components, so I do not want to have to manually modify the manifest.xml file every time I make a change.

    Did you follow the guidelines in the Connect 6 SDK documentation? This document was applicable from version 6 through 7.5.
    http://help.adobe.com/en_US/Connect/6.0/SDK/help.pdf
    Your SWF needs to be named index.swf to work, as I recall.

  • Moving vendor-scenario to customer namespace

    Hello,
    I developed a B1if Scenario for my customer. I am using a particular vendor Namespace in my development System. As the customer should be able to Change the Scenario by himself, I like to move it to customer Namespace.
    How can i achieve this?
    Kind Regards
    Christian

    Hello Christian,
    the copy-package functionality (shift namespace) is planned with upcoming B1iF 9.0 pl13 and B1iSN9.0 pl04. The functionality will be accessible via Scenarios -> Package Design -> Tools -> Copy Package.
    At the moment, please create a new package in the customer namespace and copy your scenario step(s) via (Scenarios -> Step Design -> Copy). Assign the copied step(s) to the newly created package.
    Best regards
    Bastian

  • Standard iview and custom iview

    Hi,
    Have any one tried developing a custome MDM iview which displays the record details on click of a record in standard Result Set iview?
    There is a section in portal content development guide called "Configuring Data Exchange (Eventing)" which deals with this scenario.
    Please share your experience on the integration of Standard iview and custom iview.
    I have already gone through the sdn article on "Integrating MDM Item Details iView into a WebDynpro Application".
    Thanks and best regards,
    Arun prabhu S

    Custom Event Name - EPCFgetRecordByIds
    Any name will do here, so this is fine
    Event Type - EPCF ; Record Event
    Correct again
    Target (URL or Event Name) - getRecordByIds
    Again,... Any name will do here (this is what you will use in the wdDoInit to subscribe to)
    Namespace - urn:com.sap.pct.mdm.appl.masteriviews (?. not sure abt this)
    Though it should not cause an issue I would use something else, this might interfere with the standard iViews events (though they will probably have different event names). You should be able to just come up with your own namespace here
    Auto-Fire on Row Select - Yes
    Correct
    Parameter Format - Standard
    Correct
    Mapped Field - Record ID
    Here you select all fields you like to know the values of in the action-method of your webdynpro. Most likely this is record id or some other unique identifier of the record.
    Parameter name - ?
    Just give any parameter name. You will use this name to find that specific parameter in the string of your action method.
    I want the MDM record id of the selected record as an input.
    This is in the string if you configured the iView as above. Just print it to the screen on the action method.
    Can you please help me tell me how the record id gets passed from standard iview to custom iview?
    That should already happen by the subscribing to the event you did in the wdDoInit. Welcome to the wonderful world of eventing
    Jurjen

  • How to specify custom namespace in generating WSDL for BAPI

    In the creation of the Web Service Definition(WSDL) for a rfc-enabled function module, I would like to specify the custom namespace rather than the default in /sap/bc/srt/rfc/sap/. And I could not change the path in the Service Definition after it is generated(greyed out in change mode).
    I have looked all over the SAP help and could not find any documentation for the change.
    Any advise?
    regards,
    Wai-ming

    Hi John,
    You've raised a good scenario.
    First of all let me say that the purpose of the DB polling transaction, is to have an option to initiate a process from a DB table/view and not to update multiple fields in a table (or have other complex manipulation on the table).
    So, when choose to update a field in a record, after reading it, you are "telling" the engine not to poll this record again. Sure, i guess you can find a solution/workaround for it, but I don't think this is the way....
    The question now is what to do?
    You can have another DB adapter where you can update the data after finishing the process. In that case, after reading the data (on polling transaction) - update the header.status = 'processed' for example, and after processing the selected data update the rest of the fields.
    Hope it make some sense to you.
    Arik

  • IACu00B4s in Customer Namespace

    Dear all,
    I am running a problem migration IAC´s in Customer Namespace and external ITS to internal ITS.
    Example:
    In our SAP 4.7.1 we have IAC Services called /abc/xyz (/abc/ is our customer namespace registered at SAP). While publishing to external ITS the slash (/) is converted to Tilde (~) because slash has a different meaning in URL´s of course. So now I want to publish my IAC´s in ECC 6.0 using TA SE80 and publish to internal. The system tells me success but no service is created in ICF. I can´t even create a service /abc/xyz nor abcxyz in ICF by hand because of the special characters / and ~.
    So please can anyone tell me how to create my services in ICF?
    Kind regards
    Roman Becker

    Hi Roman,
    I am not an namespace expert, but as far as I know namespaces are reflected in the ICF tree by additional nodes in the hierachy. Lets look at BSP or ITS services: below /sap/bc/gui or /sap/bc/bsp you find the "sap" namespace node. Beside this node you should create your own namespace if you bought a namespace from SAP. In case of an ITS service this would be in your example /sap/bc/gui/abc/xyz or if you want to do it as SAP for its  own ITS services /sap/bc/gui/abc/its/xyz. As far as I know there is currently no protection of namespaces implemented in the ICF as they are known from other SAP development tools. So someone could hijack your namespace in the ICF which could lead to a name clash.
    Best regards,
    Klaus

  • SAP Customer Exit - Customer Namespace (i.e. /ABC/)

    Hi ABAP Experts,
    The question I would like to ask is when taking advantage of a SAP customer exit, can you assign the work to a customer namespace (i.e. /ABC/) ?
    The problem seems to be that we want the majority of our custom development in our customer reserved namespace i.e. /ABC/.  Yet, to activate a customer exit, the ABAP code follows the old "Z" standard.  For example, customer exit EXIT_RMMR01RS_003 has the include ZXM08U03.  To activate this exit, one would create the include ZSM08U03 and include customer code.  Unfortunately, the include ZSM08U03 can't be assigned to a package with /ABC/.
    Any help would be greatly appreciated.
    Thanks,
    Jay

    i dont think so. the reserved name spaces are for specific vendor products, while exits are for all customers.so exits would not be able to use a reserved name space.. but within that exit ZXM08U03 you can create another include using /ABC/ name space

  • Configuration of SAP MDG User Interface in Customer Namespace - 7.0

    Hello All.
    I have been constantly reading about the mentioned content,
    SAP MDG user interfaces from one single place. A dedicated WebDynpro application is provided to manage all user interface configurations.
    You can also copy a standard SAP user interface configuration to the customer namespace and configure it to your requirements.
    Can anyone give more details about the SAP MDG User Interface or share any links which denotes the same in detail.
    Any Help Appreciated !!.
    Regards,
    Shankar

    The document mentioned in the link does not state anything related to use user interface in customer namespace as suggested by sap in Innovations page. this is more about FPM applications.
    Can you please suggest how do we use MDG User Interface in the customer environment directly as suggested by SAP.
    Regards,
    shankar

  • Selecting custom namespace during installation of Infrastructure

    I'm performing a new installation of Oracle Application Server Infrastructure and Middle Tier.
    I'm uncertain of what I should specify as my namespace during installation.
    Some information on my setup (changed names for posting):
    Server1:
    hostname: vadar.mycompany.com
    serving: Application server infrastructure
    Server2:
    hostname: ginger.mycompany.com
    serving: application sesrver middletier (portal)
    When installing the infrastructure it gives a suggested namespace of:
    dn=com, dn=mycompany, dn=vadar
    should i keep the default or change the namespace one level up to just dn=com,dn=mycompany?
    I was reading documentation online at:
    http://download.oracle.com/docs/cd/B32265_01/install.1014/b32091/infra.htm#BABEBIAE
    Which said:
    4.16 What Do I Enter in the "Specify Namespace in Internet Directory" Screen?
    The distinguished name (DN) that you specify on this screen will be designated as the namespace in Oracle Internet Directory where users and groups are administered.
    Select the suggested namespace if it meets your deployment requirements. If not, enter a DN that you want in the custom namespace field. The installer determines the suggested namespace from the /etc/hosts file. See Section 2.11, "The /etc/hosts File".
    If you plan to integrate your Oracle Identity Management components with a third-party directory, you should specify the DN of a namespace that matches the DN of the default namespace in the third-party directory. See the Oracle Internet Directory Administrator's Guide for details on integration with third-party directories.
    I am also running Active Directory and will be integrating the two. (myad.mycompany.com)
    Any input would be greatly appreciated.
    Thanks!

    If noone really has a suggestion on the selection then can someone pointme in the direction of documentation on changing the namespace after the fact incase the original selection was incorrect?
    Thanks ahead of time.

  • Move objects from customer namespace to a reserved namespace

    Hi,
    We have recently registered our namespace and we are looking for the best approach to transfer all our objects from the customer namespace to that new registered namespace.
    What is the best way to do this? What are the challenges and issues that we should plan for?
    Thanks for your help. Useful answers will be awarded.
    -TR

    Hello
    In principle you have to rename all your repository object to fit the new custom namespace.
    You may have a look at ZSAPLINK which may allow you to download entire packages including the objects as XML files.
    If so then you may try to rename the objects in this downloaded XML files and then upload them again.
    Regards
      Uwe

  • Std Function Modules in Customer Namespace in ECC6?

    Hi,
    I am in ECC 6. In the system I see function modules with names starting with Y and Z. For eg Y_H_N2_01_CHCK_N2PS_2 and Z_ISU_DUNNING_EVENT_0303.
    There are over 2000 such function modules. When I checked the tables TADIR and TRDIR couldnt find entries for these objects.
    Also checked the attributes of these objects, and everywhere the Person Responsible and Last Changed by was SAP, including in the function group and function pool.
    1) Is SAP creating objects in customer namespace, or am I missing something? or how does one know for sure whether it is a custom object or a standard object?
    2) Why are these Function Modules not visible in TADIR or TRDIR?
    Thanks,
    Jayesh

    Thanks Gautham. Points awarded.
    But in this case the program name of the function modul also does not have a Z in it as is the case in the example that you have given. Mentioned are a few FM's with their program names just to highlight what I am saying
    FM Name                                  Prog Name
    Y_H_N2_VS_MAINT_N3BL_02     SAPLN3BL
    Y_H_N2_VS_MAINT_N3BL_03     SAPLN3BL
    Y_H_N2_VS_MAINT_N3BL_04     SAPLN3BL
    Y_H_N2_VS_MAINT_N3BM_01     SAPLN3BM
    Y_H_N2_VS_MAINT_N3BM_02     SAPLN3BM
    Y_H_N2_VS_MAINT_N3BM_03     SAPLN3BM
    Y_H_N2_VS_MAINT_N3BM_04     SAPLN3BM
    Y_H_N2_VS_MAINT_N3BN_01     SAPLN3BN
    Y_H_N2_VS_MAINT_N3BN_02     SAPLN3BN
    Can we therefore say that if the person responsible and Last Changed By ar both SAP then its a standard object?
    Jayesh

Maybe you are looking for