Siebel Mobile Connector Guide > Working with the Metadata Business Service > The Metadata Business Service API >

CreateStyleSheets


CreateStyleSheets generates style sheets that can be passed to SWE to limit the data returned from the Siebel application. Do not directly call this method; instead call it from InvokeMethod.

Syntax

ErrCode CreateStyleSheets(const CCFPropertySet & inputArgs,

CCFPropertySet & outputArgs);

Argument
Description
inputArgs
The input arguments.
<CREATE>
SUBSCRIPTIONS='%string_of_XML%'. For a definition describing the inbound XML document, see DTD for Subscriptions.
outputArgs
The output arguments.
<CREATE>
SUCCESS=' '%success%'='TRUE'
STYLESHEETS=' '%list_of_stylesheets_and_views%'

Returns

ErrCode. TRUE indicates success; FALSE indicates failure.

Example

InvokeMethod(SStext("CreateStyleSheets"), inputs, outputs);

The input argument should be in the following format:"

<?xml version="1.0" ?>

- <SUBSCRIPTIONS>

<NODE NodeId="Siebel Mobile Connector" SubscribeForUI="FALSE" SubscribeForUpdate="FALSE" SubscribeForPush="FALSE" />

<NODE NodeId="Siebel Mobile Connector_SMC Account Screen" SubscribeForUI="TRUE" SubscribeForUpdate="FALSE" SubscribeForPush="FALSE" />

...

<NODE NodeId="Siebel Mobile Connector_SMC Service Request Screen_Service Request detail view w/attachments_Service Request Attachment List Applet_ActivityFileName_ActivityFileName" SubscribeForUI="FALSE" SubscribeForUpdate="FALSE" SubscribeForPush="FALSE" />

</SUBSCRIPTIONS>


 Siebel Mobile Connector Guide 
 Published: 18 April 2003