![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Data View Demo - Add it to your mapping to see what you can do with the data view. More...
Functions | |
ContainerWidgetsDemo parameters | |
createDemoPage parameters ?eaDataArrayName? | |
createDemoSection parameters ?eaDataArrayName? | |
DataViewInfo | |
Demos parameters ?eaDataArrayName? | |
GetParameter parametersDict paramName | |
GoodiesDemo | |
MakeHelp docVar args | |
ParametersDemo parameters | |
show args | |
ShowDemoService args | |
SimpleWidgetsDemo | |
TableDemo | |
Data View Demo - Add it to your mapping to see what you can do with the data view.
The Data View Demo comes as the t4x_data_view_demo.sd
file. This file is shipped with the product and shows all the elements and attributes you can use to create the layout of the Data View. The file can be opened in an editor and the code be hooked into the "prop mapping" so you can see how the elements appear in the Data View and how they were created. The demo is added to the regular data view as an extra page or section.
t4x_data_view_demo.sd
file from the var/template/mmap/t4x_mapping_config
folder to the var/mmap/t4x_mapping_config
folder.var/mmap/t4x_mapping_config/t4x_mapping_config.sd
t4x_data_view_demo.sd
file such that it is loaded before the prop mapping file, e.g. source -relax t4x_data_view_demo.sd
var/mmap/t4s_mapping_config/t4s_prop_mapping_template.sd
MMDataView
procedure.createDemoPage
command passing on the Parameters
parameter and add its result to the string variable to be returned from the procedure, e.g. append doc [T4X::PROP::MAPPING::DEMO::createDemoPage $Parameters]
if {false} {...}
to temporarily disable it.If you do not want to modify the regular prop mapping you may choose to create a new target type with a new name, e.g. Data View Demo and write a prop mapping procedure for that type that only creates the Data View demo. You can even place it in a separate file.
The user can then view the demo by selecting the new target type in the target type drop down.
T4X::PROP::MAPPING::DEMO::ContainerWidgetsDemo | parameters | ||
Create a page that shows container widgets such as pages or sections.
T4X::PROP::MAPPING::DEMO::createDemoPage | parameters ?eaDataArrayName? | ||
Show a page with pages embedded that demonstrate various types of widgets or features of the data view.
parameters | a Tcl dict with parameters that have been set by the user of the data view |
name | of the array that holds names and values of EA attributes. EA attributes are data members of objects that reside in the EA system, SAP for example. Only used when the ::T4X::PROP::MAPPING::VIEWBUILDER is shown. |
T4X::PROP::MAPPING::DEMO::createDemoSection | parameters ?eaDataArrayName? | ||
Show a section with pages embedded that demonstrate various types of widgets or features of the data view.
parameters | a Tcl dict with parameters that have been set by the user of the data view |
name | of the array that holds names and values of EA attributes. EA attributes are data members of objects that reside in the EA system, SAP for example. Only used when the ::T4X::PROP::MAPPING::VIEWBUILDER is shown. |
T4X::PROP::MAPPING::DEMO::DataViewInfo |
Create a page that shows some extra features.
T4X::PROP::MAPPING::DEMO::Demos | parameters ?eaDataArrayName? | ||
Assemble pages which demonstrate various types of widgets or features into a single view.
parameters | a Tcl dict with parameters that have been set by the user of the data view |
name | of the array that holds names and values of EA attributes. EA attributes are data members of objects that reside in the EA system, SAP for example. Only used when the ::T4X::PROP::MAPPING::VIEWBUILDER is shown. |
T4X::PROP::MAPPING::DEMO::GetParameter | parametersDict paramName | ||
T4X::PROP::MAPPING::DEMO::GoodiesDemo |
Create a page that shows some extra features.
T4X::PROP::MAPPING::DEMO::MakeHelp | docVar args | ||
Create a text widget to be used to display a help text.
docVar | name of the variable to store the document to be returned to the data view |
args | more arguments to be passed to the command that creates the text widget. |
T4X::PROP::MAPPING::DEMO::ParametersDemo | parameters | ||
Create a page that demonstrate how to deal with parameters coming from the data view.
parameters | a Tcl dict with parameters that have been set by the user of the data view |
T4X::PROP::MAPPING::DEMO::show | args | ||
T4X::PROP::MAPPING::DEMO::ShowDemoService | args | ||
T4X::PROP::MAPPING::DEMO::SimpleWidgetsDemo |
Create a page that shows simple widgets such as properties.
T4X::PROP::MAPPING::DEMO::TableDemo |
Create a page that shows tables.