the parameters object is exposed through a read-only property, therefore you cannot change its reference, but you can add properties to the returned reference, for example in this way:
<setProperty target="listsDataSource"
property="parameters"
propertyKey="linkid"
value="9BF6C242-48D9-4E65-B524-66EF8665328F"
/>
Hope this helps.
Thanks, but where to put it? I tried the below, but the webservice still doesn't get the parameter
<script type="text/xml-script">
<page xmlns:script="http://schemas.microsoft.com/xml-script/2005">
<components>
<dataSource id="listsDataSource" propertyChanged="onPropertyChanged" serviceURL="/app_ws/LinkDataService.asmx"/>
<setProperty target="listsDataSource"
property="parameters"
propertyKey="linkid"
value="9BF6C242-48D9-4E65-B524-66EF8665328F"
/>
No comments:
Post a Comment