Hi everyone,
I wanted to see an interface however this error occurred:
Expression evaluation error at function a!safeLink [line 137]: Invalid index: Cannot index property 'externalDocument' of type Text into type Document
I tried to look for support documents for this issue but could not. Please give me some advice on how to solve this error.
Thanks a lot!
Discussion posts and replies are publicly visible
Hi,
You can try indexing your CDT value.
ex: ri!cdt.externalDocument --------> index(ri!cdt, "externalDocument", "")
You can try the other commenter's suggestion. However, if it doesn't work, please paste your code below. Also, while you're trying to post a problem that relates to your code, always consider pasting your code for more clarity.
You can try with either index() or property()
Agreed - clues given in this error message (particularly the part about 'into type Document') suggests that this error runs deeper than the user simply trying to fetch a nonexistent dot property, which is the only part the other comments here are attempting to address. IMHO until we get some clarification around context, it's not even worth the effort to make such blind guesses as to the real underlying issue.
I agree! Will make sure the question be more accurate next time
Let me give it a try. Thanks a lot
Thanks for helping, let me try both and see :D