Generic File Loading Overrides In Cluster
We followed the instructions in http://download.oracle.com/docs/cd/E12840_01/wls/docs103/deployment/config.html#wp1066442 to setup the deployment plan and file structure under AppFileOverrides directory in order to load the properties file from our application in the cluster.
The properties were loaded successfully by the managed servers running on the same machine where the deployment was executed, but the properties were not loaded by the remote managed servers. We checked the stage directory from the remote managed server, which was populated with the AppFileOverrides directory along with the properties file, so we are confused why the remote managed server can not load the properties. Is there a bug that the ClassFinder of the AppFileOverrides directory is not added in front of the application's ClassLoader for the remote managed server? Or is there some configuration error in our part for the clustering environment?
We are using WLS 10.3.2.0.
Thanks,
Daniel
Daniel,
Since this is a relatively new feature, I recommend a support case. I have yet to try this feature, but your description that it works on a local server, but not a remote one might be a bug and Support can validate.
Similar Messages
-
Configuring "Generic File Loading Overrides" in Weblogic 9.2
I'm having difficulties utilizing file overrides for applications in weblogic 9.2.
To test I created a test war file, packaged in an ear file.
All that's in the war are files: index.jsp and a test.properties
index.jsp just displays a variable from the properties file:
<body>
<%
Properties myAppProps = new Properties();
InputStream iostream =Thread.currentThread().getContextClassLoader().getResourceAsStream("test.properties");
myAppProps.load(iostream);
%>
<%= myAppProps.getProperty("test")%>
</body>
As packaged in the war, the "test" property is set to "original"
I created the following directories:
c:\test\app\test.ear
c:\test\plan\Plan.xml
c:\test\plan\AppFileOverrides\test.properties
This properties file has the "test" property set to "override"
When I deploy this in WL 9.2 the JSP always displays "original". I've tried various other directory structures, tried it outside of the ear as just a war file, and other guesses as to what might be going wrong, but can't get the test.properties file override to work.
I am using XSD deployment descriptors (not DTD files). I changed the Session Invalidation Interval value through the Plan.xml to verify that it is being recognized by Weblogic, and the new value is displayed through the console. My Plan.xml file has the config-root set: <config-root>c:\test\plan</config-root>
Any ideas on what else I can try or can someone post a complete example that works for me to play with?
Thanks!Thanks for the response, but I'm still getting the "original" value from the packaged properties file instead of the "override"
I've also noticed that if I change a value through the console (just updated the Session Invalidation Interval) weblogic saves the new value to the plan.xml file, but changes my config-root to: *<config-root xsi:nil="true"></config-root>*
I deleted the deployment, changed the config-root back to the directory, and deployed the application again. It does use the value for the Session invalidation but still doesn't use the override test.properties file. Is it not recognizing the config-root property correctly?
Current directory structure:*
c:\test\
c:\test\app\
c:\test\app\test.ear
c:\test\plan\
c:\test\plan\plan.xml
c:\test\plan\AppFileOverrides\
c:\test\plan\AppFileOverrides\test.war\ (directory, not file)
c:\test\plan\AppFileOverrides\test.war\test.properties
Deployment*
Attempted through the console to deploy c:\test
Attempted through the console to deploy c:\test\app\test.ear
Attempted the command line:
java weblogic.Deployer -user weblogic -password weblogic -deploy -name test -source /test/app/test.ear -plan /test/plan/plan.xml
All attempts read the original properties file, not the override.
File Contents*
c:\test\plan\AppFileOverrides\test.war\test.properties
test=override
c:\test\plan\plan.xml
<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-deployment-plan.xsd" global-variables="false">
<application-name>test.ear</application-name>
<variable-definition>
<variable>
<name>SessionDescriptor_invalidationIntervalSecs_12744548675600</name>
<value>77</value>
</variable>
</variable-definition>
<module-override>
<module-name>test.ear</module-name>
<module-type>ear</module-type>
<module-descriptor external="false">
<root-element>weblogic-application</root-element>
<uri>META-INF/weblogic-application.xml</uri>
<variable-assignment>
<name>SessionDescriptor_invalidationIntervalSecs_12744548675600</name>
<xpath>/weblogic-application/session-descriptor/invalidation-interval-secs</xpath>
</variable-assignment>
</module-descriptor>
<module-descriptor external="false">
<root-element>application</root-element>
<uri>META-INF/application.xml</uri>
</module-descriptor>
</module-override>
<module-override>
<module-name>test.war</module-name>
<module-type>war</module-type>
<module-descriptor external="false">
<root-element>weblogic-web-app</root-element>
<uri>WEB-INF/weblogic.xml</uri>
</module-descriptor>
<module-descriptor external="false">
<root-element>web-app</root-element>
<uri>WEB-INF/web.xml</uri>
</module-descriptor>
</module-override>
<config-root>C:\test\plan</config-root>
</deployment-plan>
c:\test\app\test.ear
APP-INF\
APP-INF\classes\
APP-INF\lib\
META-INF\
META-INF\MANIFEST.MF
META-INF\weblogic-application.xml
META-INF\application.xml
test.war
test.war (inside test.ear)
META-INF\
META-INF\MANIFEST.MF
WEB-INF\
WEB-INF\classes\
WEB-INF\classes\test.properties (+test=override+)
WEB-INF\lib\
WEB-INF\web.xml
WEB-INF\weblogic.xml
** all the .xml files except the plan.xml above were generated by eclipse using the defaults and have very little in them, but I can post those too if you think the problem might be in them. -
Option Explicit
Dim Row, FilePath, Folder
Const ExcelFileName = "curve linear final limits ECE-AIS.xls"
Const ExcelSheetIdx = 1
Const StpFileName = "curve linear final limits ECE-AIS.stp"
Call Data.Root.Clear
'get FilePath from dialog
Call FileNameGet("ANY", "FileRead", DataDrvUser, "DAT files (*.dat),*.dat", "", 0, "Select File to Process...")
If DlgState = "IDCancel" Then Call AutoQuit
FilePath = FileDlgName
'Load dat file
FilePath = AutoActPath & "C100227-6.DAT"
Folder = NameSplit(FilePath, "P")
Call DataFileLoad(FilePath)
'import limit channels from Excel file
Call ExcelImport(Folder & ExcelFileName, ExcelSheetIdx, 0, Folder & StpFileName)
'load the VIEW layout to show the data and (eventually) the envelope curves
Call View.LoadLayout(AutoActPath & "TUV.TDV")
'Search for the first Row where the value in channel 2 has exceeded 1.0, add 0s to shift the envelope curves
Row = Find("Ch(2) > 1.0")
IF Row > 0 THEN
Call ChnAreaInsert0(3, 1, Row+1)
Call ChnAreaInsert0(4, 1, Row+1)
END IF
'Come to report panel, refresh it to see the 3 curves
Call PicLoad(AutoActPath & "TUV.TDR")
Call PicUpdate(0)
Hi all,
In the above script, what ever the dat file i load, the same C100227-6.DAT's is appearing in the graph. I tried doing it for any other file. But getting some errors and cant trace it out.
Can any one tell me how can i make this script to plot graph for any other file other than C100227-6.DAT mentioned in the script.
Also please let me know how do i learn loading generic file, generic channel referenceing, All generic things, etc etc. Instead of mentioning a specific file in a script . Any material to learn this available please guide me.
Thanks in advance.
Rash
Solved!
Go to Solution.
Attachments:
New Folder.zip 29 KBHi Rash,
Sure, just remove this line from the script:
FilePath = AutoActPath & "C100227-6.DAT"
Brad Turpin
DIAdem Product Support Engineer
National Instruments -
V8.2.1: generic file i/o error while loading VI's
Hello,
I had a large LV application open and running fine. I closed it, and upon re-opening the top-level VI it gives "Generic File I/O Error" on several sub-VI's (belonging to me, not LV). Opening those sub VI's individually reveals no problem at all, and in any case the whole code base lives in a Subversion repository and I have tried checking out a fresh copy of the whole source code tree and the problem re-appeared. Before Labview displays the "File I/O error" it will hang for several minutes with no disk or CPU activity.
I just tried checking out a fresh copy of the source tree on a separate computer. Now Labview is hanging while loading "<vilib>:\DAQmx\create\channels.llb\DAQmx Create Channel (CI-GPS Timestamp).vi" after having managed to load 920 VI's. On edit: I spoke too soon. It is now duplicating the "Generic File I/O Error" on one of my sub VI's.
If anyone has any clue to this strange behavior please let me know.
Thank you,
-Brian
Message Edited by brian_g on 04-08-2008 11:43 AM
Message Edited by brian_g on 04-08-2008 11:44 AMWhat I found was this...
My code calls a bunch of subVI's in another directory. Those subVI's in turn had some unwise paths saved in some of them that loaded other subVI's from a network shared drive instead of the local disk directory.
The network shared drive had been taken off line since the computer was delivered to a customer last Friday. When LV tried to load the VI's from the shared drive, it would hang for about 5 minutes, then give the "Generic File I/O Error" with an "Ok" button to continue. I eventually sat and did this for about 13 VI's, taking most of an hour while waiting for the network reads to timeout.
Once my now-broken application loaded I was able to successfully re-direct the missing VI's to the local disk, resolving the problem.
The "Generic File I/O Error" message could not be less useful in this case and I'm rather irritated by the genericity of the message. Something like "Network read failed" would have immediately illustrated the problem and kept me from wasting a whole lot of time deciphering it. -
Generic file I/O error. Cannot save VI "filename.VI"
Hi, I have LV 8.2. I am having problems saving VI's after editing them. I am getting the message:
Generic file I/O error. Cannot save VI "filename.VI"
I can recreate the problem by creating a blank VI, placing a property node on the block diagram, right clicking on property and choosing, select property and in the window that pops up expanding Application and clicking on Directory path and clicking OK. I save this VI to disk. Then I load the file again and delete the property node. Now if I try to save that I get: Generic file I/O error. Cannot save VI "filename.VI"
Furthermore with the real VI that I am having problems with. If, when I get the cannot save message, I do a "Save as" and save a copy as "filename backup" and then quit labview without saving the "filename" vi, when I run LabVIEW again I get:
The last time you ran LabVIEW, an internal rror or crash occured at save.cpp, line 821.
I click investigate internal error message now and get told there is a logfile of the error. The contents of the file on one occasion were, quote:
#Date: Thu, 9 Nov 2006 10:56:40 a.m.
#OSName: Windows NT
#OSVers: 5.1
#AppName: LabVIEW
#Version: 8.2
#AppKind: FDS
#AppModDate: 07/27/2006 00:08 GMT
.\panel\save.cpp(821) : DWarn: failed to find instance vi we're holding, caller vi: [VI "Spreeta Automatic Fluidics.vi" (0x05332ed0)] ident: [LinkIdentity "Instance 43 26Spreeta Automatic Fluidics .vi" [ Main Application Instance]
$Id: //labview/branches/Europa/dev/source/panel/save.cpp#112 $
0x008CCBB6 - LabVIEW <unknown> + 0
0x008D17CE - LabVIEW <unknown> + 0
0x0100F864 - LabVIEW <unknown> + 0
0x00528E26 - LabVIEW <unknown> + 0
0x00529342 - LabVIEW <unknown> + 0
0x0052960C - LabVIEW <unknown> + 0
0x004D6D2F - LabVIEW <unknown> + 0
0x004D7C95 - LabVIEW <unknown> + 0
0x004D7CD8 - LabVIEW <unknown> + 0
0x004DBA95 - LabVIEW <unknown> + 0
0x004DBD50 - LabVIEW <unknown> + 0
0x0051FD4C - LabVIEW <unknown> + 0
0x0051FD6F - LabVIEW <unknown> + 0
0x0122CA73 - LabVIEW <unknown> + 0
0x77E735DD - kernel32 <unknown> + 0
.\panel\save.cpp(821) : DWarn: failed to find instance vi we're holding, caller vi: [VI "Spreeta Automatic Fluidics 9 nov BU1.vi" (0x05332ed0)] ident: [LinkIdentity "Instance 45 26Spreeta Automatic Fluidics .vi" [ Main Application Instance]
$Id: //labview/branches/Europa/dev/source/panel/save.cpp#112 $
0x00D0FE4B - LabVIEW <unknown> + 0
0x008C8E17 - LabVIEW <unknown> + 0
0x008D1726 - LabVIEW <unknown> + 0
0x008D212C - LabVIEW <unknown> + 0
0x00C41E5E - LabVIEW <unknown> + 0
0x00C46F31 - LabVIEW <unknown> + 0
0x00C4796D - LabVIEW <unknown> + 0
0x00C497C6 - LabVIEW <unknown> + 0
0x004CCB39 - LabVIEW <unknown> + 0
0x004D7C95 - LabVIEW <unknown> + 0
0x004DF19A - LabVIEW <unknown> + 0
0x77D48654 - USER32 <unknown> + 0
0x77D48723 - USER32 <unknown> + 0
0x77D48999 - USER32 <unknown> + 0
0x77D48FD2 - USER32 <unknown> + 0
End of Quote:
Any ideas?Hello,
Sorry you've encountered this problem. The cpp error is a known issue, which is filed under corrective action request number : 42BI4OO5. In a nutshell, this means R&D is looking into the problem. I attempted to reproduce the problem as you described below, but I did not get the "Generic file I/O error" as you did.
If you have any further insight or detail which perhaps is the key to reproducing this, please repost, and I'll try to reproduce this again! In the mean time, does it help to copy and paste your code to a new VI, or does that VI suffer the same problem?
Thank you,
Best Regards,
JLS
PS -
Standard CAR Response:
"This was reported to R&D (42BI4OO5 CAR ID) for further investigation. Thanks for the feedback!"
Best,
JLS
Sixclear -
Hello,
I'm trying to build a generic RMI loader object, i have for example 2 Remote Objects with 2 interfaces
Interface_A and Interface_B
then in my load code i have to define
private Interface_A objA;
private void someLoadMethod() {
objA = (interface_A) Naming.lookup(some_url);
the idea is to have a class where:
you define a generic objec:
private Object obj;
private Object ifaceObj;
private void someLoadMethod() {
obj = (ifaceObj) Naming.lookup(some_url);
ifaceObj must be the remote object interface..
with this you can load multiple RMI objecs with one class so can i use something like this or try with class.forName and some config files to specify a list of interfaces provided by the server?
hope you understant my question,
Thanks,
Martin HermosillaHello Martin,
If I understand your question, I think I may be able to help.
I host a free software project at Sun's java.net:
https://cajo.dev.java.net
It deals with loading any type of object using RMI, all thorough a single interface. The project site has lots of documentation, examples, Javadocs, and of course full free source code.
I hope it can help you,
John -
Hi, everyone.
When I download Flash Player Installer from the Adobe distribution site Adobe Flash Player Distribution | Adobe the file downloads to my hard drive as a generic file with no extension, and Windows can't determine which program to use in order to open/play the file. I am using Windows 7 Professional 64 bit.
Is there something wrong with the downloaded file? Or am I missing required software?
Thank you for your time,
-BrandonYes, I've never had a problem before. I've even downloaded the Flash Player Install files from the Adobe distribution site on multiple occasions in the past without issue. The only thing I could think of is that perhaps the ".exe" extension was left off to avoid triggering security measures on a computer or private network that would prevent the download.
Anyway, it worked after I added the ".exe" extension to the filename, so I have no complaints! -
I have photoshop CC. I cannot open two files such as Tiffs and view them side by side. When I open the second file it overrides the first. Do I need to do something with preferences?
What happens when you try to use the clone stamp tool?
It should work with the images side by side.
You can setup photoshop cc to be like photoshop cs2 was on your other mac, by going to Photoshop>Preferences>Interface and unchecking
Open Documents as Tabs and Enable Floating Document Window Docking
And also going to Window and unchecking Application Frame -
Flat File loading Initialize with out Data transfer is disabled in BI 7.0
Hi experts,
When loading through flat file in BI 7.0 for Info Package Level Initialization Delta Process with data Transfer is coming by default,but when i want to select Initialization Delta Process without Data transfer is disabled. (in the creation of Data Source (flat file) in the Extraction Tab Delta Process is changed to FIL1 Delta Data (Delta Images).
please provide me Solution.
regards
Subba reddy.Hi Shubha,
For flat file load please go throught he following link:
http://help.sap.com/saphelp_nw70/helpdata/EN/43/03450525ee517be10000000a1553f6/frameset.htm
This will help.
Regards,
Mahesh -
What are the settings for datasource and infopackage for flat file loading
hI
Im trying to load the data from flat file to DSO . can anyone tel me what are the settings for datasource and infopackage for flat file loading .
pls let me know
regards
kumarLoading of transaction data in BI 7.0:step by step guide on how to load data from a flatfile into the BI 7 system
Uploading of Transaction data
Log on to your SAP
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( Transaction data )
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to create ODS( Data store object ) or Cube.
Specify name fro the ODS or cube and click create
From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
Click Activate.
Right click on ODS or Cube and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets.
4. Monitor
Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used.
Loading of master data in BI 7.0:
For Uploading of master data in BI 7.0
Log on to your SAP
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to select Insert Characteristics as info provider
Select required info object ( Ex : Employee ID)
Under that info object select attributes
Right click on attributes and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets. -
Set default app for generic files
I don't know when this started happening, but some OSX update broke my opening generic files. Now when I doubleclick the generic file icon it opens in Microsoft Word, which is unacceptable. So I deleted Word and now the files open in a genealogy application, which has to throw a number of error dialogs before it can be closed.
How do generic files know to open in the genealogy app? Is this something in Launch Services I can change to set them to open in a decent UNIX editor? This bugs me, because it all worked well until a few months ago.
If I say:
defaults read com.apple.LaunchServices 'LSHandlers'
the resulting text contains:
LSHandlerContentTag = ged;
LSHandlerContentTagClass = "public.filename-extension";
LSHandlerIgnoreCreator = 1;
LSHandlerRoleAll = "uk.ac.qmw.dcs.seegedcomx";
seegedcomx is the app that now opens all generic files. Is there a way to set this to a proper application?More than likely it's a LaunchServices problem and you should reset its database. See http://www.thexlab.com/faqs/resetlaunchservices.html for details.
-
I need format for data in excel file load into info cube to planning area.
Hi gurus,
I need format for data in excel file load into info cube to planning area.
can you send me what should i maintain header
i have knowledge on like
plant,location,customer,product,history qty,calander
100,delhi,suresh,nokia,250,2011211
if it is right or wrong can u explain and send me about excel file format.
babuHi Babu,
The file format should be same as you want to upload. The sequence of File format should be same communication structure.
Like,
Initial columns with Characteristics (ex: plant,location,customer,product)
date column (check for data format) (ex: calander)
Last columsn with Key figures (history qty)
Hope this helps.
Regards,
Nawanit -
CreatorContactInfo struct in Generic File Info Panels
Hi all,
I developed a custom panel with custom metadata in Adobe Bridge CS4, using the Generic File Info Panels.
In this panel, I have to include custom metadata and the IPTC Contact metadata.
No problem with custom metadata, I have a problem with IPTC Contact:
If I insert value in the IPTC Panel provided by Adobe, I see that metadata is written in this way:
<Iptc4xmpCore:CreatorContactInfo
Iptc4xmpCore:CiAdrExtadr="value"
Iptc4xmpCore:CiAdrCity="value"
Iptc4xmpCore:CiAdrRegion="value"
Iptc4xmpCore:CiAdrPcode="value"
Iptc4xmpCore:CiAdrCtry="value"
Iptc4xmpCore:CiTelWork="value"
Iptc4xmpCore:CiEmailWork="value"
Iptc4xmpCore:CiUrlWork="value"/>
If I insert values in my custom metadata I haven't CreatorContactInfo structure:
<rdf:Description rdf:about=""xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
Iptc4xmpCore:CiAdrExtadr="value" Iptc4xmpCore:CiAdrCity="value" Iptc4xmpCore:CiAdrRegion="value"
Iptc4xmpCore:CiAdrPcode="value" Iptc4xmpCore:CiAdrCtry="value" Iptc4xmpCore:CiTelWork="value"
Iptc4xmpCore:CiEmailWork="value" Iptc4xmpCore:CiUrlWork="value"
xap:MetadataDate="2010-04-20T09:07:47+02:00">
<tiff:BitsPerSample> <rdf:Seq> <rdf:li>8</rdf:li> <rdf:li>8</rdf:li> <rdf:li>8</rdf:li> </rdf:Seq>
</tiff:BitsPerSample> </rdf:Description>
Is there a way to reproduce the orginal (and standard) structure??
There is my custom properties.xml (only the IPTC rows):
<xmp_schema prefix="Iptc4xmpCore" namespace="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" label="$$$/Custom/IPTC Contact=IPTC Contact" >
<xmp_property name="CreatorContactInfo:CiAdrExtadr" category="external" label="$$$/Custom/Property/Address=Address:" type="text"/>
<xmp_property name="CreatorContactInfo:CiAdrCity" category="external" label="$$$/Custom/Property/City=City:" type="text"/>
<xmp_property name="CiAdrRegion" category="external" label="$$$/Custom/Property/State/Province=State/Province:" type="text"/>
<xmp_property name="CiAdrPcode" category="external" label="$$$/Custom/Property/Postal Code=Postal Code:" type="text"/>
<xmp_property name="CiAdrCtry" category="external" label="$$$/Custom/Property/Country=Country:" type="text"/>
<xmp_property name="CiTelWork" category="external" label="$$$/Custom/Property/Phone=Phone:" type="text"/>
<xmp_property name="CiEmailWork" category="external" label="$$$/Custom/Property/Email=Email:" type="text"/>
<xmp_property name="CiUrlWork" category="external" label="$$$/Custom/Property/Website=Website:" type="text"/>
<ui:separator/>
</xmp_schema>Edited reply:
Try:
name="CreatorContactInfo/Iptc4xmpCore:CiAdrExtadr"
name="CreatorContactInfo/Iptc4xmpCore:CiAdrCity"
name="CreatorContactInfo/Iptc4xmpCore:CiAdrRegion"
name="CreatorContactInfo/Iptc4xmpCore:CiAdrPcode"
name="CreatorContactInfo/Iptc4xmpCore:CiAdrCtry"
name="CreatorContactInfo/Iptc4xmpCore:CiTelWork"
name="CreatorContactInfo/Iptc4xmpCore:CiEmailWork"
name="CreatorContactInfo/Iptc4xmpCore:CiUrlWork"
Carl -
HI, I am trying to figure out the Edge hierachies by stumbling my way through coding reference attempts. I've hit a wall...
How can I refer to an object and a global function in my Edge animation from an onclick="" located in an .html file loaded into an iFrame created within the master/parent Edge animation. Here's what I have...
My main index.html is an Edge animation. One object <div> is a box created within Edge. I have added an iFrame with the Edge code:
sym.$("MenuPanelScreen").html('<iframe src="list_images_cemetery.html" width="267" height="670" sandbox="allow-same-origin allow-scripts allow-top-navigation"></iframe>');
That .html file which loads into the iframe within the animation contains thumbnails in <a> tags and contain onclick="" statements that should call a function within the Edge file.
Eventually, I want the statements to read something like... onclick="changePic('Dragon.jpg', 'The Dragon', 'Saint and Worm')"
However, I had no idea how to reference the changePic() function in the Edge animation. So, just to figure out how to reference the parent animation from an html in an iFrame, I change the onclick="" statements to...
<a onclick="alert('Try to hide Nameplate'); sym.$('NamePlate_sym').hide();" > <img src="gallery/TheyGaveUpTheirDead.jpg" width="80" alt="Angel and Worm" /></a>
I first wanted to see if I could hide an Edge Symbol or div/element from the child html. I tried the following...
onclick="alert('Try to hide Nameplate'); sym.$('NamePlate_sym', window.parent.document).hide();"
I tried a few other variations that I won't bore you with. Can someone help me with the proper reference to effect an Edge element?
Furthermore, I eventually wnat the onclick="" statement to reference a global function on attached to the Edge stage in the compositionReady event of the stage. The function is...
window.changePic=function(myFileCurr, myLabelCurr, myDescriptionCurr) {
alert("in changePick");
document.getElementById("myImage").src="gallery/"+myFileCurr;
document.getElementById("myImageLabel").innerHTML=myLabelCurr;
document.getElementById("myImageDescr").innerHTML=myDescriptionCurr;
I hope someone can point me in the right direction. Please forgive my ignorance. i am just getting back into coding and learning the intricacies of Jscript and jQuery. Thanks!Hi again Elaine,
I actually had some success after many attempts with using your code. I can control the .stop() and .play() of the "NamePlate_sym" symbol. Yet, I am still having trouble doing anything else with it. I cannot .hide() it, nor use .html("Change text") on another element on the stage called"Rectangle". If I can accomplish that and all a global function on the stage, I'm in good shape.
I placed the following script in the header of the .html file that gets loaded into the iFrame within the Edge composition:
<script type="text/javascript">
window.parent.AdobeEdge.bootstrapCallback(function(compId) {
comp = window.parent.AdobeEdge.getComposition(compId).getStage();
alert("CompID is "+compId);
var symbol = document.createElement('div');
symbol.innerHTML = 'Rotate';
symbol.style.cssText = 'background-color:#fea; width: 50px; text-align: center;';
symbol.style.cursor = 'pointer';
symbol.onclick = function() {
if (comp.getSymbol("NamePlate_sym").isPlaying()) {
comp.getSymbol("NamePlate_sym").stop();
else {
comp.getSymbol("NamePlate_sym").play();
window.parent.document.body.appendChild(symbol);
</script>
Once I put window.parent. in the first two lines of code and the last, my test worked. As I mentioned earlier though, I still can't get the syntax correct to .hide() an element (i.e. comp.getSymbol("NamePlate_sym").hide(); does not work), or more importantly, change the innerHTML value of an element on the stage. The code either does nothing or freezes.
Thanks... Tommy -
PDF files load on the web, quicktime doesn't and flash doesn't
I am amazed pdf files load but not quicktime video.
Even apples own website has some streaming video and it will not load.
Flash sites don't seem to load either.
But PDF files.
At least they got that right.Good info on the developer page.
I have a number of QT Videos on my website that I converted to "iPod Video" using Compressor2. Oddly, most will play on iPhone but some refuse! The embedded video frame shows the QT logo and a "play" icon when it think it can play, otherwise it show a greyed "play" icon with a line through it. And I thought all the videos were the same!
I'd give out the web page in question, but the last thing I need is 700,000 hits from curious iPhone owners. Send me an email if you're curious and I'll be happy to share.
iMac G4 Mac OS X (10.4.10)
iPhone 8GB
Maybe you are looking for
-
I can't find send rescue email tab, I can't reset the security questions
-
I am using firefox 14.0.1 on Linux Mint 12 (Mate desktop). I have never had any difficulty of this sort, and I have been using firefox for years. Always when I opened, the page was maximised. If it was not, I could maximise it, close it, and it would
-
Other data has gone massive since iOS 5
Will i have to restore completely to get the other data from the 3.4Gig that it is post iOS 5 back to iOS 4.3.3 0.7Gig?!
-
Help needed to activate teachers edition Lightroom 5
When attempting to activate a recently purchased Lightroom 5 the product code is not accepted with the answer " product code not recognized or product code invalid. The poduct code comes from yellow card in the disk box.
-
How to check at what time the extractor has picked records from r3 tables
Hi experts , If we want to know exactly at what time the Extractor has picked up the records from r/3 tables . or if we want to know the time stamp of extractor picking the records from r3 tables after r3 entries Regards , Subash Balakrishnan