Skip to main content
14-Alexandrite
Jun 23, 2023 6:52 AM UTC
Question

How to update the file content for a file that is already present in a file repository

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

 

3 replies

22-Sapphire I
Jun 23, 2023 12:33 PM UTC

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.

Translate
14-Alexandrite
Jun 27, 2023 4:32 AM UTC

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 

Translate
Support
Jul 10, 2023 7:39 PM UTC

Hi @Keerthivarman.

 

As Pai mentioned, you may need to delete then re-publish.  There is a DeleteFile service available. 

 

Regards.

 

--Sharon

 

 

Translate