Multilanguage titles using custom panels (xml:lang attribute)

Hi,
Is it possible to build a custom panel able to input multilanguage titles in order to get the following in XMP code:
<xmp:Title>
<rdf:Alt>
<rdf:li xml:lang="x-default">XMP - Extensible Metadata Platform</rdf:li>
<rdf:li xml:lang="en-us">XMP - Extensible Metadata Platform</rdf:li>
<rdf:li xml:lang="fr-fr">XMP - Une Platforme Extensible pour les Métadonnées</rdf:li>
<rdf:li xml:lang="it-it">XMP - Piattaforma Estendibile di Metadata</rdf:li>
</rdf:Alt>
</xmp:Title>
Patrick Peccatte
www.softexperience.com

I was able to resolve this. The probelm was with Qualifier_attribute6. Although I was still having issue with passing Qualifier_attribute11 and had to remove it.
BEGIN HXC_LAYOUT_COMPONENTS "Projects Timecard Layout -XX- WORKDEPT"
OWNER = "ORACLE"
COMPONENT_VALUE = "WORKDEPT" #not used in code - just a label
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "HXC_TIMECARD_WORK_DEPT_XX"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "247"
COMPONENT_DEFINITION = "LOV"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"Projects Timecard Layout -XX- Day Scope Building blocks for worker timecard matrix"
LAST_UPDATE_DATE = "2004/05/24"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS
"Projects Timecard Layout -XX- WORKDEPT"
OWNER = "ORACLE"
QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
QUALIFIER_ATTRIBUTE1 = "XXCustomLov2VO#XXCustomAM#XX.oracle.apps.hxc.selfservice.timecard.server.XXCustomAM"
QUALIFIER_ATTRIBUTE2 = "NODISPLAYCACHE"
QUALIFIER_ATTRIBUTE3 = "XXHXC_WORK_DEPT_LOV"
QUALIFIER_ATTRIBUTE4 = "809"
QUALIFIER_ATTRIBUTE5 = "10" # display width
QUALIFIER_ATTRIBUTE6 =
"XXhxcWorkDeptWorkOrder|WORKDEPT-DISPLAY|CRITERIA|N|XXhxcOrganizationId|WORKDEPT|RESULT|N|XXhxcWorkDeptWorkOrder|WORKDEPT-DISPLAY|RESULT|N"
QUALIFIER_ATTRIBUTE8 ="Lov2column1" #display
QUALIFIER_ATTRIBUTE9 ="Lov2column2"
QUALIFIER_ATTRIBUTE10 ="XX.oracle.apps.hxc.selfservice.timecard.server.XXCustomLov2VO"
# QUALIFIER_ATTRIBUTE11 ="TIMECARD_BIND_END_DATE|RESOURCE_IDENTIFIER_ID|TIMECARD_BIND_END_DATE|TIMECARD_BIND_END_DATE|TIMECARD_BIND_END_DATE"
QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "R"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "Dummy Paexpitdff Context"
QUALIFIER_ATTRIBUTE27 = "Attribute8"
QUALIFIER_ATTRIBUTE28 = "WORKDEPT"
LAST_UPDATE_DATE = "2004/05/24"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS

Similar Messages

  • Creating RosettaNet data types in XI 2.0: 'xml:lang' attribute

    Has anybody successfully created a RosettaNet interface in XI 2.0?
    I am working with the PIP 3A2 messages, but some of the elements have an attribute named 'xml:lang', which is a standardized attribute from the W3C's XML namespace.  The attribute name is declared as 'xml:lang' because it's still a DTD-based PIP.  Normally, in schema, this is handled by declaring an import of the xml.xsd file provided by W3C and defining the namespace alias 'xml' to point to it in the RosettaNet schema.  The xml.xsd provided by W3C boils down to the following declaration, to support 'xml:lang' as an attribute...
    <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
    <xs:attribute name="lang" type="xs:language">
    </xs:attribute>
    </xs:schema>
    I'm trying to create this interface in the XI 2.0 data type editor, but...
    1. I can't create attributes as standalone data types in alternate namespaces (to simulate the declarations in W3C's xml.xsd).
    2. I can't link a standalone attribute declaration from another namespace to an attribute in the editor.
    3. The editor prohibits use of a colon in the attribute name (as it should), so I can't declare the attribute name to be 'xml:lang'.
    4. I can't figure out how to control the addition of a new namespace alias to 'xml'.  The editor wants to use default names like 'p0' when I bring in types from other namespaces.
    Can anyone suggest where I should look for an answer?
    --Dan King
    Capgemini

    Hi Dan,
    You can design and Test Rosettanet PIPS Messages in XI-3.0 only.
    Regards
    Prasad
    SAP Netwaver RIG-XI
    SAP Labs LLC, USA

  • JSPs using Custom Tag with Boolean attribute cannot compile

    Hi,
    In Oracle9iAS(9.0.3), a jsp using a tag extension, which has a Boolean attribute, caused the following compile error, although the jsp is valid in other web containers.
    ERROR:
    /opt/oracle/j2ee/home/application-deployments/simple/simple/persistence/_pages/_test.java:56: Method toBoolean(java.lang.Boolean) not found in class _test.
    __jsp_taghandler_1.setExists( OracleJspRuntime.toBooleanObject( toBoolean( b)));
    JSP:
    <%@ page language="java" %>
    <%@ page errorPage="error.jsp" %>
    <%@ taglib prefix="jnpr" uri="/WEB-INF/testtag.tld" %>
    <%
    Boolean b = Boolean.valueOf("true");
    %>
    <jnpr:TestTag exists="<%= b%>"/>
    The boolean value is <%= b %>
    Tag Handler:
    package defaultpak;
    import javax.servlet.jsp.tagext.*;
    import javax.servlet.jsp.*;
    public class TestTag extends TagSupport{
    private Boolean exists = null;
    private java.lang.Boolean getExists() {
    return exists;
    public void setExists(java.lang.Boolean newExists) {
    exists = newExists;
    public int doStartTag() throws JspException {
    return super.doStartTag();
    Is this a known problem? Is there a way to get around this?
    Thanks in advance.
    Fred

    This is a known issue with 903, fixed in coming 904.
    In 903 the workaround is to use primitive type "boolean" instead of Object type "java.lang.Boolean" in user's getter and setter code for the taglib.
    -Prasad

  • XML Custom Panels: Samples With Doc are Not Well Formed XML

    The custom panel samples in the XMP Custom Panels document (and the accompanying sample file) is not well formed XML (which means that CS3 can't be parsing the file as XML, which would explain how this error made it publication). In particular, the XML declaration is missing the closing "?".
    <br />
    <br />As published it is:
    <br />
    <br /><?xml version="1.0"?>
    <br />
    <br />It should be:
    <br />
    <br /><?xml version="1.0"?>
    <br />
    <br />Note the "?&gt;" rather than "&gt;".
    <br />
    <br />This is in addition to the DOCTYPE SYSTEM URL not resolving to an actual DTD declaration set (which would be:
    <br />
    <br />
    <br /> title CDATA #REQUIRED
    <br /> type NMTOKEN #REQUIRED
    <br />&gt;
    <br />
    <br />Cheers,
    <br />
    <br />Eliot

    You'll have to do something to prevent your logger from appending to old logs that have been closed. Sorry if that is not very helpful, but I'm not familiar with the logging features in SDK 1.4. For your interest, though, Log4J (which you can get from Apache) also features XML logging, and it solved that rather obvious problem thus:
    "The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd. It does not output a complete well-formed XML file. The output is designed to be included as an external entity in a separate file to form a correct XML file."
    In other words, you would have to wrap the output in an XML header and a root node to be able to use it, which is not difficult to do.

  • How can I find my custom panel in CS5 using java script

    -I made an empty panel using Adobe Configurator 2 and then exported it to /Panels folder.
    -My custom panel is now in photoshop and works.
    -I added a simple code to onPanelInit():
    function onPanelInit()
        var myWindow = new Window ("dialog");
        var myMessage = myWindow.add ("statictext");
        myMessage.text = "Hello, world!";
        myWindow.show ( );
    so far so good.
    Now instead of creating a new window like I did above, I want to use the new custom panel and add a text to it.
    The problem is, how do I do that in java? Where can I find the panel that I should assign the text to?
    I know that you can add the text in Configurator, or you can edit the .xml file and add the button there, but my
    plan is to create a panel where i can add and remove buttons dynamically and that's why I have to do that in java.
    Any help would be appreciated!
    Cheers,
    Petri J

    Use Runtime.exec() to run a OS specific command which retrieves OS specific info.
    Or use JNI to access a OS specific API which returns the info you want.

  • Custom Alert Email Templates Issue - List Alerts emails not using customized XML alert template

    I have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed to a list using the "Alert Me" feature.  I
    have renamed the custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and
    restarted IIS.  Once users subscribe to the alerts using the list using the "alert me" function they received the customized email as intended. 
    We needed to auto-subscribe users to the email alerts so what I did was used a powershell script to add users to the alert subscriptions using the script shown in below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When I ran the script and added the users and restarted the service, all users who were auto-subscribed via this method would get the email without the customizations that were done in the custom template.  All users who manually subscribed to the list
    using the "Alert Me" function would get the customized email. 
    Does anyone know why users who manually subscribe would get the custom email alert and why users who were auto-subscribed using the powershell script do not get the custom email alert?

    Hi  ,
    According to your description, my understanding is that users who were auto-subscribed using the PowerShell script do not get the custom email alert.
    For your issue, it can be caused by the auto-subscribed alert email which is generated by PowerShell script is  using OOTB alert template. You can add the following script into your script for setting
    the alerts’ alert email template:
    $contentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $AlertsTemplateCollection =new-object Microsoft.SharePoint.SPAlertTemplateCollection($contentService)
    $newAlert.AlertTemplate = $AlertsTemplateCollection["YOUR_UNIQUE_TEMPLATE_NAME_VALUE"]
    Reference:
    http://sadomovalex.blogspot.com/2012/03/one-problem-with-updating-alert.html
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Email Alert Template Issue - List Alerts (Alert Me) emails not using customized XML alert template

    We have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed using the "Alert Me" feature. We have renamed the
    custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS.  Once users subscribe to the alerts using the list "alert me"
    function they received the customized email as intended.
    We needed to auto-subscribe users to the email alerts so what we did was use a powershell script to add users to the alert subscriptions using the script shown below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When we ran the script and added the users and restarted the service, all users who were auto-subscribed via this method get the email without the customizations that were done in teh custom alert template.  All users who manually subscribed on their
    own to the list using the "Alert Me" function would get the customized email.
    Does anyone know why users who manually subscribe to the alerts get the customized email, and users who were auto-subscribed using the powershell script do not get the customized email and get the standard generic email template?

    Hi  ,
    According to your code, it create a new alert using SPUser.Alerts.Add() method. For this method, it will create a new alert based on the predefined alert template by default.
    If you only assigned the custom alert template to the list, users who manually subscribe to the alerts get the customized email, but users who were auto-subscribed using the PowerShell script get the standard
    generic email template.
    For your issue, you can set the new alert ‘s alert template:
    http://social.technet.microsoft.com/Forums/en-US/1b19c12f-fc37-48cf-8b59-6c09f095dc23/custom-alert-email-templates-issue-list-alerts-emails-not-using-customized-xml-alert-template?forum=sharepointgeneralprevious
    Here is a good blog you can have a look:
    http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Use of XMP Custom Panel to automate insertion of metadata into PDF file.

    I'm new to the world of XMP so please bear with me.
    I'm exploring ways of automating the insertion of metadata into PDF files, either at the time of creation, or through a batch process. The metadata values for a given set of documents would be static, so these could be "hard coded" into the mechanism use to insert the metadata.
    Would an XMP Custom Panel be something I could use to achieve this goal. If so, can you please provide some details on how to go about doing this.
    Thanks in advance.
    Louis

    Were you able to find a solution to this problem? I am having the same issue.
    Jason

  • How can i set  "Createdby" attribute  When using Custom JheadStart Security

    Hello
    We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object?
    thanks

    See a similar question at History Attributes when using Custom Authentication Type

  • Using Custom Attributes in HBR

    <p>Does anyone know how to use custom attributes to limit local orglobal HBR variables (run-time prompts)? We have business rulesthat were developed in the graphical designers and the run timeprompt was set up to limit the user's selection based on a customattribute. When these business rules are imported into EAS theywill no longer validate.</p>

    Hi Maarten,
    I have applied the logic mentioned above to my code. But it still does not procure any data from the container.
    <ItemType name="uwl.task.webflow.decision.<task>" connector="WebFlowConnector" defaultView="travel" defaultAction="launchTravelUwl" executionMode="default">
          <ItemTypeCriteria systemId="UWL_R3" externalType="<task>" connector="WebFlowConnector"/>
           <CustomAttributes>
            <CustomAttributeSource id="ABAP_BOR" objectIdHolder="NOTIFICATION" objectType="ZBUS2078" cacheValidity="final">
              <Attribute name="STARTDATE" type="date" displayName="Creation Date"/>
              <Attribute name="ENDDATE" type="double" displayName="Due By"/>
            </CustomAttributeSource>
            <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="NOTIFICATION" objectType="WebflowContainer" cacheValidity="final">
              <Attribute name="NOTIFICATION" type="string" displayName="NOTIFICATION"/>
            </CustomAttributeSource>
          </CustomAttributes>
          <Actions>
            <Action name="replan" groupAction="no" handler="UserDecisionHandler">
              <Properties>
                <Property name="UserDecisionNote" value="mandatory"/>
                <Property name="decisionKey" value="4"/>
              </Properties>
            </Action>
            <Action name="reject" groupAction="yes" handler="UserDecisionHandler">
              <Properties>
                <Property name="UserDecisionNote" value="true"/>              
                <Property name="decisionKey" value="1"/>
              </Properties>
            </Action>
          </Actions>
        </ItemType>

  • History Attributes when using Custom Authentication Type

    assigned all History Attributes (in the Entity Object Editor) to my audit columns.
    During run time, I find only Created By is assigned the SYSDATE, and Created On, Modified On, and Modified By are null.
    I am using Custom Authentication Type.
    I have read that the History Attributes only work the the JAAS authentication type. Appreciate any one confirming this.
    Also, how do you implement History Attributes if you are using the Custom Authentication Type? Do you need to write Java code?
    Thanks.
    John

    Hi,
    confirmed it only works with container managed authentication performed through JAZN. You can't use this with custom security as otherwise this feature could be overwritten. Still you can provide your own implementation:
    - create a custom table
    - use the setAttr method on the RowImpl class of a VO to store the username
    Frank

  • How to create a custom panel in the right way (without having an empty panel in the file info) ?

    Hi Everyone
    My name is Daté.
    I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.
    I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.
    Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.
    When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.
    The main idea is to (Theory) :
    create custom panels used by fashion designers to classify their design files.
    Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
    Find someone to make a script able to export metadata in xml files
    Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values
    I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.
    But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!
    Here is the process :
    I have installed flashbuilder 4.6
    I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    In Flashbuilder, i have created a new project and select xmp Custom panel
    The new project is created in flashbuilder with a field with A BASIC Description Field
    To generate the panel, right click the project folder and select xmp / Publish Custom Panel
    The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels
      Go to illustrator, Open the file Info
    The panel appears empty
    The others panel are also empty
    The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.
    When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.
    I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.
    I try to follow the process described in Adobe xmp documentation many times, but it didn't works.
    It seems that many peaople have this issue, but i dodn't find a solution in the forum.
    I try to create a trust file (cfg), but it didn't work.
    It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.
    Thanks a lot for your help,
    Best regards,
    Daté 

    Hi Sunil,
    After many trial, i realize the problem was not coming from the trust file, but from the way i have created the custom panel.
    There is 2 different ways, the first described below is not working whereas the second is fine :
    METHOD 1 :
    I have downloaded the XMP-Fileinfo-SDK-CS6
    In the XMP-Fileinfo-SDK-CS6 folder, i copied the com.adobe.xmp.sdk.fileinfo_fb4x_1.2.0.jar plugin from the Tools folder and i pasted it in the plugind folder of Flashbuilder 4.6
    The plugin install an XMP project
    In Flashbuilder 4.6 i have created a new project (File / New /Project /XMP/XMP Custom Panel)
    A new xmp project is created in flashbuilder.
    You can publish this project by right clicking the root folder and selecting XMP / Publish Custom Panel
    The custom file info panel is automatically published in the right location which is on Mac : /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0 or /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/4.0
    Despite the publication of the custom file info panel and the creation of a trust file in the following location : "/Library/Application Support/Macromedia/FlashPlayerTrust", the panel is blank in Illustrator.
    I try this way several times, with no good results.
    METHOD 2 :
    I have installed Adobe CSExtensionBuilder 2.1 in Flash Builder
    In FlashBuilder i have created a new project (File / New /Project /Adobe Creative Suite Extension Builder/XMP Fileinfo Panel Project)
    As the system display a warning about the version of the sdk to use to create correctly a custom file info, I changed the sdk to sdk3.5A
    The warning message is : "XMP FileInfo Panel Projects must be built with Flex 3.3, 3.4 or 3.5 SDK. Building with Flex 4.6.0 SDK may result in runtime errors"
    When i publish this File info panel project (right click the root folder and select Run as / Adobe illustrator), the panel is published correctly.
    The last step is to create the trust file to display the fields in the panel and everything is working fine in Illustrator.
    The second method seems to be the right way.
    For sure something is missing in the first method, and i don't understand the difference between the XMP Custom Panel Project and the XMP Fileinfo Panel Project. Maybe you can explain it to me.
    So what is the best solution ? the right sdk to use acording to the creative suite (the system asks to use 3.3 or 3.5 sdk for custom panels, so why ?)
    I'm agree with Pedro, a step by step tutorial about this will help a lot of peaople, because it's not so easy to understand!!!
    Sunil, as you belong to the staff team, can you tell me if there is  :
    A plugin or a software capable to extract the XMP from llustrator files to generate XML workflows in Indesign to create catalogues
    A plugin to allow indesign to get custom XMP in live caption
    A plugin to allow Bridge to get custom XMP in the Outputmode to make pdf or web galeries from a smart collection
    How can you print the XMP data with the thumbnail of the file ?
    Thanks a lot for your reply.
    Best Regards
    Daté

  • Nested Menus Not Appearing in a Custom Panel Fly-out Menu

    I tried to create a menu for a custom panel, using the example which David Clark graciously pointed out to me:
    http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/programmers_guide/cus tomizing_the_ui.htm
    However, the nested menu items do not appear. I only see Item 1 and Item 2 (and the separator and Item 3), but not Item 2-1. I was expecting to see Item 2-1 nested under Item 2.
    I used the menu structure provided in the example (note that there is an error in the example - one of the closing tags is incorrectly specified as "<MenuItem/>" instead of "</MenuItem>"). Below is the corrected XML and my code:
    protected function createMenu():void
       var xmlMenu:XML =
        <Menu>
          <MenuItem Id="item_1" Label="Item 1"/>
          <MenuItem Label="Item 2">
            <MenuItem Label="Item 2-1"/>
          </MenuItem>
          <MenuItem Label="---"/>
          <MenuItem Label="Item 3"/>
         </Menu>;
        CSXSInterface.instance.addEventListener(MenuClickEvent.FLYOUT_MENU_CLICK, menuClickHandler);
        var menuAdded:SyncRequestResult = CSXSInterface.getInstance().setPanelMenu(xmlMenu);
        if (SyncRequestResult.COMPLETE != menuAdded.status)
         trace("Unable to add menu");
       public function menuClickHandler(event:MenuClickEvent):void
           switch (event.menuName) //you can also use the menuId
        case "Item 1":
        trace("Item 1 has been clicked");
        break;
        default:
        trace("clicked " + event.menuName);
    I'd appreciate it if somebody could tell me what I'm doing wrong.
    TIA,
    mlavie

    Hi Bob,
    Any news? BTW - the example should be corrected - there is a tag incorrectly closed.
    Regards,
    mlavie

  • "xml:lang" is getting replaced by "lang" in XML Record converter class

    Hi All,
    The issue i am having is in the Record converter class which converts XML Record to JCA record, the string "xml:lang" is replaced by only "lang" due to which the transaction i am running fails as the application to which this xml is posted rejects it.
    Details:
    I have a Custom Resource Adapter(on JCA 1.5 Spec) deployed on Oracle Weblogic Server 10.3. I invoke this adapter from the BPEL process (SOA Suite 11g). I have implemented the XMLRecordConverter interface which converts the XMLRecord to JCARecord. During this conversation the "xml:lang" string is replaced by "lang" due to which the application to which this xml is posted is throwing error.
    The code snippet of the XMLRecordConverter implementation is below
    import javax.resource.ResourceException;
    import javax.resource.cci.Record;
    import javax.xml.transform.dom.DOMSource;
    import oracle.tip.adapter.api.record.RecordElement;
    import oracle.tip.adapter.api.record.XMLRecord;
    import oracle.tip.adapter.api.record.XMLRecordConverter;
    import oracle.tip.adapter.fw.record.RecordElementImpl;
    import oracle.tip.adapter.fw.record.XMLRecordImpl;
    import oracle.tip.adapter.fw.util.JCADOMWriter;
    import oracle.xml.parser.v2.DOMParser;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    public Record convertFromXMLRecord (XMLRecord xmlRecord) throws ResourceException
    String xmlString;
    RecordElement payloadRecordElement = xmlRecord.getPayloadRecordElement();
    if (payloadRecordElement != null) {
    xmlString = serialize(payloadRecordElement);
    else {
    throw new ResourceException("No data in record from EIS!");
    RecordImpl rec = new RecordImpl();
    rec.setStr_Payload(xmlString);
    return rec;
    private String serialize (RecordElement recordElement)
    if (recordElement != null) {
    org.w3c.dom.Element wsifEnvelopeRootElement =
    recordElement.getDataAsDOMElement();
    if (wsifEnvelopeRootElement != null) {
    JCADOMWriter domSerializer = new JCADOMWriter();
    String xmlString = domSerializer.print(wsifEnvelopeRootElement);
    return xmlString;
    return "<empty>";
    the resulting xml has all the occurrence of "xml:lang" replaced with "lang"
    If i add namespace ( like xmlns:xml="http://www.w3.org/XML/1998/namespace") at the root element of XML coming from BPEL process then the replacement is not happening.
    Has any of the Oracle api's used in the above code uses namespace aware parser or the BPEL engine is replacing "xml:lang" to "lang" when it passes the xml to XMLRecord Converter class?
    The above code works perfectly fine in Oracle Fusion 10g (Oracle AS 10 and SOA Suite 10g)
    Any information will be really helpful specially in the oracle api's
    Thanks,
    Amith

    Hi wilson,
    Do you know how to move or delete this thread? i didnt find any options to move or delete this thread

  • Facing issue while handling faults using fault-policies.xml

    Hi All,
    Scenario: One Asynchronous Bpel is trying invoke the webservice. When the status of the webservice is "Down", the BPEL will throw "System fault : remoteFault"
    This fault will be handled by the fault-policies.xml.
    CustomFaultHandler.java : basically it will print data to audit-trail and send data to the JMS Queue.
    I am facing some issues , when i am trying to handle faults using fault-policies.xml.
    Issue1: Display warning message at time of deployment : Warning: Schema validation failed for fault-policies.xmlXML-24506: (Error) Identity constraint validation error: 'Key sequence not found in key reference'
    Issue2: CustomFaultHandler.java is able to print data to audit-trail but unable to send data to the Queue. and why the policy file getting executed at time of "Start of Invocation" and then it's showing "Invocation faulted" ?
    Audit-Trail Message:
    *===========*
    Started invocation of operation "process" on partner "RemoteService".Started invocation of operation "process" on partner "RemoteService".
    [Fault Recovery] Invoked handleBPELFault on custom java action class "com.CustomFaultHandler".
    Invoke1
    190002190002
    default/TestjavaAction!5.0*soa_fcb2a5dd-06a7-47f9-bb88-cab14d343856/TestBPEL
    190002
    Faulted while invoking operation "process" on provider "RemoteService". Faulted while invoking operation "process" on provider "RemoteService".
    fault-policies.xml:
    *==========*
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="ErrorHandlingModelr"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-java"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-java">
    <javaAction className="com.CustomFaultHandler"
    defaultAction="ora-terminate">
    <returnValue value="Manual" ref="ora-abort"/>
    </javaAction>
    </Action>
    <Action id="ora-abort">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    fault-bindings.xml:
    *===========*
    <?xml version="1.0" encoding="windows-1252" ?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <component faultPolicy="ErrorHandlingModelr">
    <name>TestBPEL</name>
    </component>
    </faultPolicyBindings>
    Warning Message when trying to deploy the composite to the server :
    =============================================
    Warning: Schema validation failed for fault-policies.xmlXML-24506: (Error) Identity constraint validation error: 'Key sequence not found in key reference'
    Error Message from server:
    *==============*
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the reported exception is: Fault not handled.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caught from within the flow.
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    ORABPEL-05002
    Message handle error.
    error while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the reported exception is: Fault not handled.
    failure to handle a fault thrown from a scope, by any blocks in the scope chain.
    This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope.
    A top-level fault handler should be added to the flow to handle faults not caught from within the flow.
    This error contained an exception thrown by the message handler.
    Check the exception trace in the log (with logging level set to debug mode).
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:205)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:850)
    at java.lang.Thread.run(Thread.java:662)
    Please help..
    Thanks in Advance
    Edited by: Sharmistha Ghosh on May 16, 2012 12:37 PM

    My SOA suite version is 11.1.1.7 and i was getting the same warning  while compiling the Composite in JDeveloper. To fix it update your fault-policy.xml
    Change it to
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <faultPolicy version="0.0.1"
                     id="BPELProcessV1_Faults"
                     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
                     xmlns:xs="http://www.w3.org/2001/XMLSchema"
                     xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    And it will solve the issue.

Maybe you are looking for

  • No sound out on headphone jack!

    Hi all! I've just purchased a HP Elitebook 8460p with Win 7 Pro 64 on it. Everything is ok but 1 strange problem. The sound is good when use laptop speakers. But when plug in the headphone in headphone jack. Ofcause the sound to the speakers stop but

  • I keep getting the Error 1015 when trying to restore

    I purchased a 2nd hand iPhone 3G and I read to fix the problem of it being stuck on the Apple logo to do a restore. Well, everything was fine and now it won't restore and I get 1015 error. What should i do?

  • HT5035 how do i get a refund for mistakenly purchasing on itunes?

    how do i get a refubd for mistaenly purchasing on itunes?

  • JavaME - how do i use this Random Method

    Hi , I read through the api of javame. I wanted to create a number ranging from 0 to 9 at random . How do i do it with this Random method . can anyone show me a example of generate random 0 to 9 and set this generated number as a string cause i will

  • N97 - Where are emails synchronised to when using ...

    I noticed today that Nokia PC Suite allows synchronisation of emails (it didn't for my old N95).  Having gone through the wizard and then synchronised the phone I can't actually see where these emails might have been placed on the phone. I use Profim