Hi, I took a whole day to look for some information about writing the script for custom rule designs for view objects, but there are not much of information on the websites. I am having trouble finding out how to implement the program due to unknown methods I can use for view objects. Can anyone give me some suggestions and help? thank you very much!!
The rule is like this:
check each views tables' name in the data modeler and then add a postfix to the names that do not have the postfix.
first place to look is datamodeler\datamodeler\xmlmetadata\doc directory of DM instalation. The product comes with some examples, and there are lot of examples here in the forum.
You can read this thread as well Re: Custom Transformation Scripts
Your transformation is simple:
- you need all viiews - model.getTableViewSet();
- need to use getName() and setName(name) methods of each view.