I decided to create one topic with solving of different errors
that I face while supporting Aveva Pdms.
- Error: (2,752) Array element 19 does not exist
Solving: Some element in your spec doesn’t have detref or it has unset rtext/stext. Check that specification sele of the same type as your elements and correct detref.
- Error: (47,15) CP: Syntax error > While export attributes to Review
Solving: Edit file cdxattdump.pmlfrm (or analog) line 434
!attrib = !attrib.trim().replace(‘$$’,”).replace(‘|’,”)
or fix attribute value. In my case I had value ‘|’ in attribute value.
- Error:(46, 94) PML unknown variable type while calling pmlnet callable control in *.pmlfrm
Solving: import the DLL:
And use this namespace:
using namespace ‘Aveva.Pdms.Presentation’