Hello everyone,
I have some DXL-defined attributes that give me error message when I try to create it in a new view. I want to check the code source of these DXL scripts but I cannot get the source code. The colleague who had created these scripts is no longer here.
Here is the error message:
Does someone know how to solve the issue or if it is possible to get the source code of DXL Attributes created by someone else?
Thank you ,
Best regards.
Socrate - Tue Jan 10 06:25:08 EST 2017 |
Re: error unknown Module attribute and no source code You should be able to read the source code, there is no restriction, as long as you have read access. Or are you talking about encrypted scripts? Regards, Mathias |
Re: error unknown Module attribute and no source code Mathias Mamsch - Tue Jan 10 06:49:24 EST 2017 You should be able to read the source code, there is no restriction, as long as you have read access. Or are you talking about encrypted scripts? Regards, Mathias Hello Mathias,
Thank you for your answer. Yes I have found the source code now, but still I don't understand why the module attribute "a_Document_Type" is not recognized, while I have explicitely defined this attribute in my module.
Here is part of the code:
|
Re: error unknown Module attribute and no source code Hello again,
I think have found the source of problem: the script checks all linked module and try to find the attribute "a_Document_Type" but the attribute was not defined in all the linked modules. Therefore the script shows the error message. I created the same attribute in other linked modules and it seems better.
Thank you for your assistence.
Regards, |
Re: error unknown Module attribute and no source code Socrate - Tue Jan 10 09:02:07 EST 2017 Hello again,
I think have found the source of problem: the script checks all linked module and try to find the attribute "a_Document_Type" but the attribute was not defined in all the linked modules. Therefore the script shows the error message. I created the same attribute in other linked modules and it seems better.
Thank you for your assistence.
Regards, And this is why the probeAttribute type function is useful, see https://www.ibm.com/developerworks/community/forums/html/topic?id=7d0bb6a3-1ff7-4332-be1e-2ce2cf79d5e4&ps=25 |