Posted: Wed Jun 07, 2017 11:50 pm Post subject: Unresolvable field reference for dynamic fields
Disciple
Joined: 29 Jun 2010 Posts: 169
Hello,
I sometimes create fields like this:
CREATE FIELD P3.Part[3]."Content-Disposition" TYPE.......
The toolkit gives me the warning "Unresolvable message field reference "OutputRoot.MIME.Parts".
Isn't there any way to suppress the warnings for when you create fields on the fly? Or at least tell the toolkit that you accept and remove the warning.
It also clogs the left pane of the page and makes it harder to see where you have put your breakpoints.
then I'd double-check how you created the OutputRoot.MIME and OutputRoot.MIME.Parts fields.
Otherwise, I think you'd have to show more code.
Yes, I have tried to follow that example. Here is the more complete code.
Code:
CREATE FIELD OutputRoot.MIME TYPE Name;
DECLARE MODEL REFERENCE TO OutputRoot.MIME;
CREATE LASTCHILD OF MODEL TYPE Name NAME 'Parts';
CREATE LASTCHILD OF MODEL.Parts TYPE Name NAME 'Part';
The toolkit puts a warning on the last line saying "unresolvable field reference OutputRoot.MIME.Parts.
If I run the code, then I do get the outcome I want so it seems to work but the warning is still there. Normally I get those warnings if I am referring to a field in a message set that does not exist.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum