cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

mks html in a trigger

SM_9794770
10-Marble

mks html in a trigger

Hi

is it possible in ptc integrity trigger to programmatically through trigger setfieldvalue a mks html text ?

i.e programmitcally set a fieldvalue with mks formatted text ?

 

Attempt to create a table in the richtext field with table ?

setFieldValue(myField,"<table border="1" style="border-collapse: collapse; width: 100%; height: 28px;">
<tbody>
<tr style="height: 14px;">
<td style="width: 50%; height: 14px;"><b>test</b></td>
<td style="width: 50%; height: 14px;"><b>test123</b></td>
</tr>
<tr style="height: 14px;">
<td style="width: 50%; height: 14px;">test</td>
<td style="width: 50%; height: 14px;">test123</td>
</tr>
</tbody>
</table>"); 

1 REPLY 1

ok found it myself this works 

for example

var test = "<!-- MKS HTML --><table border=1><tbody><tr><td><b>test</b></td></tr></tbody></table>";

Announcements


Top Tags