just tried to create a websdk by code to add it to a containercontrol.
well seems we can’t as the constructor is protected…
is this normal behavior or a bug ?
thanks.
Did you make your own public constructor?
sorry I was not precise enough !
no constructor in my websdk.
Right. I think if you make your own it will work. Not at my desk or I could test and be more helpful.
1 Like
thanks I will try that (later I worked around this another way…)
This is by design. The WebSDK supers are useless unless they’re subclassed. This prevents users from placing a raw control on a layout hoping it’ll work.
2 Likes
ok so can it work like Tim said above if I have my own constructor in my websdk ?
Absolutely. Just make sure your constructor calls Super.Constructor