How to setup an additional field to widget content

Kurt Muller asked on December 29, 2017 12:07

Hi guys

I created a widget, inherited from theEditable Text webpart, and under the properties tab I have an initial DefaultText field that I use to populate the area, but I would like to setup a 2nd field for a paragraph text below the DefaultText.

How do I do this?

Recent Answers

Trevor Fayas answered on December 29, 2017 20:04

You can't really add a field to a widget, a widget is a sub set of the web part, you would need to clone the web part, add the field there and then make the widget from that. But you also need to then render that other field which means going into code.

I would check out the transformable web part of the market place, easy way to create your own web part and widgets without coding.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.