Mika Raento

IDE COM interface, CWAutomationTarget::SetNamedPanelDataField

Discussion created by Mika Raento on Nov 29, 2006
Latest reply on Nov 29, 2006 by CompilerGuru
Hello

Since the COM API Reference doesn't list this method (prob. the manual hasn't been updated), I'm asking here: I want to manipulate a panel that has nested settings, the exported XML looks like:
<SETTING><NAME>SymbianInstallationOutputLocation</NAME>
<SETTING><NAME>Path</NAME><VALUE>..\..\installv3</VALUE></SETTING>
<SETTING><NAME>PathFormat</NAME><VALUE>Windows</VALUE></SETTING>
<SETTING><NAME>PathRoot</NAME><VALUE>MMPDir</VALUE></SETTING>
</SETTING>

SetNamedPanelDataField works fine on simple settings like
<SETTING><NAME>SymbianInstallationOutputFilename</NAME><VALUE>INST.sis</VALUE></SETTING>
but there is no documentation on how to use it with the nested setting. Obvious string formats like 'SymbianInstallationOutputLocation|Path' or 'SymbianInstallationOutputLocation::smileytongue:ath' do not work.

Is this method supposed to work with nested settings, and if so, how? I'm using IDE version 5.5.

Cheers,
Mika Raento
Jaiku Ltd

Outcomes