Attachment feature allows 1 doc to be attached at a time

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Attachment feature allows 1 doc to be attached at a time

Post by softserv »

Hello members,

Currently attachment functionality allows 1 document to be attached at a time. Does AIM allow multiple documents to be selected and attached in a single click?
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Attachment feature allows 1 doc to be attached at a time

Post by customaware »

Yes it does.

The Photo Library sample app shows you how.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: Attachment feature allows 1 doc to be attached at a time

Post by softserv »

Hi Mark,

We have successfully integrated multiple attachment upload feature but the application is throwing message "Object has been changed by another user...................." when Save button is clicked. In our example we are using 2 objects. Parent object has 1 child object as 1 to many relationship in grid format. Once all the documents are selected and attached in one go, then the user clicks on Save button in Parent object form, this informational/error message appears.

Why does the user have to refresh the parent object when it should be handled by default. If we auto refresh the parent object form, then the user is navigated back to top of the form, which is again increasing user activity and thus annoying the user.

Test bsv is below. Password is AwareIM.

http://softserv.in/owncloud/index.php/s/djXhZzB8IxHwBjH
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Attachment feature allows 1 doc to be attached at a time

Post by customaware »

Hi Manoj,

It is because you are creating the child records with a process.

In the Auto refresh setting for the Student Form..... Add you MultiUpload process and it will work.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: Attachment feature allows 1 doc to be attached at a time

Post by softserv »

Hi Mark,

The process is in auto refresh of the parent object form already. The parent object in our application has a lot of attributes and so when the process is put in auto refresh, it takes 8 to 10 seconds to get refreshed. During this time period, if user clicks on Save button, then it shows "Object is updated by another user............." message. We cannot put any condition also in the process as it throws an error message as mentioned in one of the other threads in the forum.

https://www.awareim.com/forum/viewtopic ... ion#p47440


Is there a way we can delay the Save button action until form gets refreshed?
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: Attachment feature allows 1 doc to be attached at a time

Post by weblike »

Hi Manoj,


I'm interested in this topic too.
Question: Do you use FileSystem storage or DB?
In 8.1 if I upload child records, the permitted file size and permitted extension are ignored.
https://www.awareim.com/forum/viewtopic.php?f=2&t=10487
Did you experience these behaviors ?


Thank you
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: Attachment feature allows 1 doc to be attached at a time

Post by softserv »

Hi George,

We are using FileSystem. But we have not set any limitations as such.
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: Attachment feature allows 1 doc to be attached at a time

Post by softserv »

Hi support - Any suggestions?
softserv wrote:Hi Mark,

The process is in auto refresh of the parent object form already. The parent object in our application has a lot of attributes and so when the process is put in auto refresh, it takes 8 to 10 seconds to get refreshed. During this time period, if user clicks on Save button, then it shows "Object is updated by another user............." message. We cannot put any condition also in the process as it throws an error message as mentioned in one of the other threads in the forum.

https://www.awareim.com/forum/viewtopic ... ion#p47440


Is there a way we can delay the Save button action until form gets refreshed?
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: Attachment feature allows 1 doc to be attached at a time

Post by mrbdrm »

you can mask the form to prevent any change until the form finish saving
softserv
Posts: 93
Joined: Mon Aug 01, 2016 12:52 am
Location: Jaipur, India
Contact:

Re: Attachment feature allows 1 doc to be attached at a time

Post by softserv »

Masking is already ON.
Team SoftServ

V8.3 2628 |V8.2 2574 |V8.1 2475 | V8.0 2372 | V7.1 2240 | V6.0 2042 | V5.9 1894
MS SQL Server | MySQL
AWS | Azure | Google Cloud

Image
SoftServ - AwareIM
Post Reply