MPS-17935 MPS-18024
Updated the plainText sample in order to avoid calling deprecated smodel methods