Hi!
I want to get a mapping from OOM. I use VBScripts:
------------
'Get DataSource
set ds = ActiveModel.findchildbyname("TEST",PDOOM.cls_datasource)
'Get mapping
set m = ds.GetMapping(c)
------------
When I'm trying to get field's mapping (use method structural.Feature.Class) i catch error "The object don't support this op[tion or method: 'structural.Feature.Class'"
-------------
For each structural in m.StructuralFeatureMaps
Output structural.Feature
Output structural.Feature.Class
------------
How i can do it?
Request clarification before answering.
It can be made so:
output CurrentObject.code 'Mapping to ClassCode
output structural.Feature.code 'Mapping to FieldCode
output structural.SourceFeature
output structural.SourceFeature.code 'Mapping from FieldCode
But in structural.SourceFeature i recieve long string "Shortcut of attribute 'ClassName.ClassFieldName'"
I want to keep only classCode Source.
How i can do it? 😃
And i know it!)
structural.MappedTo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.