Hi AllI m using Teamsite 6.7.1 versionWhen i try to chnage the Label using setLabel function,it works fine for new form entry....but when i open the record in edit mode..the js file gets stuck upWat can be the problem here....Is there any other way of setting the Label for the field?Thanks in Advance
Is there any error occurring in browser?Do you check it on different browsers?What did you find? Please share it.
alert("1");IWDatacapture.getItem(parent + "/Image").setLabel("ImageText");alert("2);In the new form entry..flow of code is proper.To debug i have added alerts..after the first alert i dont receive the second alert..Label gets set but code doesnt execute after this line
alert("1: " + parent);
Code that i m using is as below IWDatacapture.getItem(parent + "/Image").setLabel("ImageText");
Just wanted to give a note regarding setLabel(). If you are trying to set Label of a container which is collapsed then, you will get error. So, first make setCollapsed(true), then setLabel(whatever) and then again make setCollapsed(false). The containers usually get collapsed automatically if you have too many containers in your DCR.