AnsweredAssumed Answered

Relate two documents

Question asked by arunkr85 on Feb 6, 2009

I am trying to customize alfresco web client(alfersco labs 3b).
I integrated one activex control which can show our custom content.
But problem is the content resides in two files a graph.xml which contaion the properties of UI of Activex and a data.xml which contains data to show in the control.

The jsp file will look like this

<OBJECT classid="clsid:8A420143-5D8F-11D4-BC87-00C04F79B0DD"
standby="Graph Page">
<PARAM NAME=DataPath VALUE="http://localhost:8080/alfresco/d/d/workspace/SpacesStore/80abf0a2-a3a6-48c0-8a63-a08301646510/graph.xml">

The graph.xml file will look like this

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<DataSource link ="http://localhost:8080/alfresco/d/d/workspace/SpacesStore/80abf0a2-a3a6-48c0-8a63-a08301646510/data.xml'/>
<Object Type = "Graph" Handle = "0">
<Attribute ID = "513" Name = "SGA_COORDSYSTEM" Label = "Coord System" DataType = "Integer" AttrValue = "1"></Attribute>
<Attribute ID = "608" Name = "SGA_AUTOLEGENDSHOW" Label = "Auto Legend Show" DataType = "Integer" AttrValue = "4" Option = "Flag"></Attribute>
<Object Type = "Plot" Handle = "0">
<Attribute ID = "769" Name = "SLA_TYPE" DataType = "Integer" AttrValue = "1"> </Attribute>
<Attribute ID = "832" Name = "SLA_SUBTYPE" DataType = "Integer" AttrValue = "2"> </Attribute>

<Object Type = "DataFormat" ArrangementType="XYPair">
<Index Name = "X1" colID = "2" />
<Index Name = "Y1" colID = "3" />
<Index Name = "Z1" colID = "4" />

U can see the data.xml is referred in graph.xml.
What i need is i want to link these to files , Is there any option for my requirement in alfresco

thanks in advance