Attachment version renaming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2024 10:04 PM
While uploading a attachment in submission record if a attachment is already there and a same named attachement is getting attached it should rename the new attached document as a version.
For example Test.txt is there again if i attach Test.txt it should get attached and renamed as Test_V1.txt
so now my record should have 2 attachment records as Test.txt,Test_V1.txt
@Ankur Bawiskar Can you help in this.
Regards,
Debasis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2024 02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2024 02:25 AM
@Ankur Bawiskar
custom application scope the br is also created in the same scope but updating the attachment records name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2024 02:42 AM
Hello @Ankur Bawiskar ,
It worked when i wrote the br on global scope
but it is always creates v2 only
I had Test1 file first time it created Test1_V2 but when again i uploaded it created again a Test1V2 rather it should create Test1V3
Regards,
Debasis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-19-2024 02:59 AM
you will require tweak as I mentioned in my earlier script.
how will you know if Test1.txt and Test1_V2.txt are same without knowing the content
Simply relying on file name to add versions won't help.
I think you should discuss this requirement with your customer. I feel it's a weird requirement.
but anyhow I have provided an approach which works and it will require some tweaks.
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2025 06:16 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.