Hi ALL,Following is the Scenario.1. I have a DCR called test.dcr, from which I generate html files called "1.html", "2.html", "3.html" and so on.2. While Generation I set a metadata to DCR with it's generated html file nameIn this case my DCR will have following metadata - GeneratedFile1= 1.html - GeneratedFile2= 2.html -GeneratedFile3= 3.html3. Each html file will be having some predefied extended attbutes like topNAV, leftNAV and so onwhat I have done is, on click of generate I initiate a CGI which will ask topNAV and leftNAV.The problem I am facing is.When the user edits say 1.html the DCR "test" will open and when the user clicks on generate I have to populate above said CGI with the navigational elements of 1.html like wise when the user edits 2.html I have to populate the CGI with the navigational elements of 2.html and so on.How can I know inside TEMPLATING client with which html file user is trying to edit the DCR ?Please suggest some possible ways.Thanks.Sanjeev
If you generate N output files from a DCR - does it really matter through which generated files you edited the DCR? All N of the files need to be re-generated, so whatever your process for managing the nav for each generated file you would have to do for all of them - right?
In FormAPI, there is IWPageGeneration.getOutputFile(); When you open a generated .html file to edit the DCR, in the form settings the output path defaults to this particular .html file and thus the IWPageGeneration.getOutputFile() can give you the .html file path and name.