Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi,
My Infotable has around 21 Fields, for an particular situation I need just one Field Results, how can I remove unwanted feilds at a time instead of doing the following coding:
result.RemoveField("X1");
result.RemoveField("X2");
result.RemoveField("X3");
result.RemoveField("X4");
result.RemoveField("X5");
result.RemoveField("X7");
result.RemoveField("X8");
result.RemoveField("X9");
result.RemoveField("X10");
result.RemoveField("X11");
result.RemoveField("X12");
result.RemoveField("X13");
result.RemoveField("X14");
result.RemoveField("X15");
result.RemoveField("X16");
result.RemoveField("X17");
result.RemoveField("X18");
result.RemoveField("X19");
result.RemoveField("X20");
is there a query or any shortcut to remove all the Fields at a time ?
@paic @slangley @c_lowy
Thanks,
Shashi
Solved! Go to Solution.
HI,
Why don't you create a Datashape with just one field that you want and put it in service output.
Regards
Shyam
HI,
Why don't you create a Datashape with just one field that you want and put it in service output.
Regards
Shyam
Hi,
It works but, Creating a DataShape just for a Output will be little unnecessary !!
Thanks !
Shashi Preetham
This will be one time activity with no harm on the performance.
Regard
Shyam