Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
i've a file in repository in which i need to remove some lines and add new line the deleted line.
i've got the text inside the file using loadText snnippet. Now it need to change some text inside the file.
How we can achieve this.
Thanks in Advance!
Regards,
Keerthivarman
Check and see what services are available in the FileRepository Thing.
I forget if it has an 'update' I think you might only be able to 'append'
If that's the case, you may have to delete original and save the new.
Hi,
yes i've checked that there is a append snippet in the repository thing, but i need to remove some line from that.
is it possible to do that?
thanks
keerthi
Hi @Keerthivarman.
As Pai mentioned, you may need to delete then re-publish. There is a DeleteFile service available.
Regards.
--Sharon