Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

text edit

Hi!

Is there any possibility to display a text edit (not blank - pre-filled) in a view ? this text edit must be a read-only field.

Do you have any source code to develop in the wdDoInit method?

i don't want to use text views because the text i have to display is not 2 or 3 lines but a whole paragraph, and i have to do this in many DCs with different text in any of them.

i tried this source code but i am getting java.lang.NullPointerException .

IPrivateTestView.ITestNode node = wdContext.nodeTest();

			  IPrivateTestView.ITestElement el = node.currentTestElement();
	el.setTest_atr("this is a text");

Former Member
Not what you were looking for? View more on this topic or Ask a question