Question T579
Visible to All Users

can not add custom property for question base

created 7 years ago

Hi guys,

I am trying to add custom property to the question base while creating custom cloned question type.

kindly check the attachment for the error and the code snapshots as well as the js file.

This is very important for us to be able to integrate the surveyjs with our system.

Thanks,

Answers

created 7 years ago

sorry, the survey keyword had to be upper case. Thanks

Survey.JsonObject.metaData.addProperty
(
"questionbase",
{
name: "iSessions:boolean",
default: false
}
);

    Comments (1)

      No problem,
      It is great that you have figured it out!

      Thank you,
      Andrew
      SurveyJS Team