Hello
I've got a function in my custom task pane for clear every item in a view and create a new one :
function NewElement() {
XDocument.View.ExecuteAction("xCollection::removeAll", "co_dossiers_59");
XDocument.View.ExecuteAction("xCollection::insert", "co_dossiers_59");
}
This function works very well but my problem is the var XmltoEdit (here 'co_dossiers_59'). I'm not the only person to develop forms but other people aren't good in javascript or vb so I decided to provide a 'generic' custom task pane they can use in each form they make.
My question is how can I get programatically the name of the node ('co_dossiers_59') wich is the name of the node corresponding to my first table in the main connection (/dfs:myFields/dfs:dataFields/d:co_dossiers).
Those forms are binded to a sql server database.
Thaks in advance.