Siebel Mobile Connector Guide > Working with the Metadata Business Service > The Metadata Business Service API >
GetApplicationDef
GetApplicationDef returns a hierarchical representation of the application definition. Do not directly call this method; instead call it from the InvokeMethod. Syntax
ErrCode GetApplicationDef (const CCFPropertySet & inputArgs, CCFPropertySet & outputArgs);
|
|
inputArgs |
The input arguments. APPLICATION_NAME='%application_name%' |
outputArgs |
The output arguments. SUCCESS='%success%' = 'TRUE' XML_DEF='%string_of_XML%'. For a definition describing the outbound XML document, see DTD for Application Definition. |
Returns
ErrCode. TRUE indicates success; FALSE indicates failure. Example
InvokeMethod(SStext("GetApplicationDef"), inputs, outputs);
The following is an example of the output arguments:
<?xml version="1.0" encoding="UTF-16"?><?Siebel-Property-Set EscapeNames="false"?>
<APPLICATION NodeId="Siebel Mobile Connector" PushSelectValue="FALSE" SubscribeForUpdate="FALSE" Name="Siebel Mobile Connector" SubscribeForUI="FALSE" UpdateSelectValue="FALSE" UISelectValue="FALSE" SubscribeForPush="FALSE">
<SCREEN NodeId="Siebel Mobile Connector_SMC Account Screen" PushSelectValue="FALSE" SubscribeForUpdate="TRUE" Default_View="SMC Account View" Name="SMC Account Screen" Viewbar_Text="Account" SubscribeForUI="TRUE" UpdateSelectValue="FALSE" UISelectValue="FALSE" SubscribeForPush="TRUE">
<VIEW NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View" PushSelectValue="FALSE" SubscribeForUpdate="TRUE" Business_Object="Account" Title="Account Opportunities" Visibility_Type="SalesRepView:0" Name="SMC Account Detail - Opportunities View" Viewbar_Text="Opportunities" SubscribeForUI="TRUE" UpdateSelectValue="FALSE" UISelectValue="FALSE" SubscribeForPush="TRUE">
<APPLET NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet" PushSelectValue="FALSE" Title="Account" Business_Component="Account" Name="Account Form Applet" Base_Table="S_PARTY" SubscribeForUI="TRUE" UISelectValue="FALSE" SubscribeForPush="TRUE"> <CONTROL Table="S_ORG_EXT" Type="FT_EDIT" Pick_Applet="Account Status Pick Applet" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_AccountStatus" PushSelectValue="FALSE" Runtime="TRUE" Display_Name="Status" Name="AccountStatus" Field="Account Status" SubscribeForUI="TRUE" UISelectValue="FALSE" SubscribeForPush="TRUE">
<FIELD Text_Length="30" Type="Text" Table="S_ORG_EXT" Extension="TRUE" Calculated="FALSE" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_AccountStatus_Account Status" PushSelectValue="FALSE" SubscribeForUpdate="FALSE" Multivalued="FALSE" Name="Account Status" SubscribeForUI="FALSE" UpdateSelectValue="FALSE" UISelectValue="FALSE" SubscribeForPush="FALSE">
<PICKLIST NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_AccountStatus_Account Status_PickList Account Status" PushSelectValue="FALSE" SubscribeForUpdate="FALSE" Value="ACCOUNT_STATUS" Name="PickList Account Status" SubscribeForUI="FALSE" UpdateSelectValue="FALSE" UISelectValue="FALSE" SubscribeForPush="FALSE"></PICKLIST></FIELD></CONTROL>
<CONTROL Table="S_ORG_EXT" Type="FT_EDIT" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_Alias" PushSelectValue="FALSE" Display_Name="Alias" Name="Alias" Field="Alias" SubscribeForUI="TRUE" UISelectValue="FALSE" SubscribeForPush="TRUE">
<FIELD Text_Length="100" Type="Text" Table="S_ORG_EXT" Extension="TRUE" Calculated="FALSE" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_Alias_Alias" PushSelectValue="FALSE" SubscribeForUpdate="FALSE" Multivalued="FALSE" Name="Alias" SubscribeForUI="FALSE" UpdateSelectValue="FALSE" UISelectValue="FALSE" SubscribeForPush="FALSE"></FIELD></CONTROL>
<CONTROL Table="" Type="FT_BUTTON" SubscribeForUpdate="FALSE" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_EditRecord" PushSelectValue="FALSE" Display_Name="Edit" Name="EditRecord" Field="" SubscribeForUI="TRUE" UISelectValue="FALSE" SubscribeForPush="FALSE"></CONTROL>
<CONTROL Table="" Type="FT_BUTTON" SubscribeForUpdate="FALSE" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_GotoNextSet" PushSelectValue="FALSE" Display_Name="Next" Name="GotoNextSet" Field="" SubscribeForUI="TRUE" UISelectValue="FALSE" SubscribeForPush="FALSE"> </CONTROL>
<CONTROL Table="" Type="FT_BUTTON" SubscribeForUpdate="FALSE" NodeId="Siebel Mobile Connector_SMC Account Screen_SMC Account Detail - Opportunities View_Account Form Applet_GotoPreviousSet" PushSelectValue="FALSE" Display_Name="Previous" Name="GotoPreviousSet" Field="" SubscribeForUI="TRUE" UISelectValue="FALSE" SubscribeForPush="FALSE"></CONTROL></APPLET></VIEW></SCREEN></APPLICATION>
|