Question
Pegasystems Inc.
AU
Last activity: 18 Dec 2017 20:16 EST
IS there a bug for set attachment category in the Attach content control?
I am trying to set a default attachment category as the post below but all categories always come out somehow.
our version is 7.2.1 and the setting is also attached? Is there a know issue for this? I saw there is an issue in v7.1.8 but not in v7.2.x
[Resolved] How to set attachment category when upload file with mobile ?
https://collaborate.pega.com/question/resolved-how-set-attachment-category-when-upload-file-mobile
***Updated by moderator: Lochan to update Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Upon reviewing the associated SR, it was resolved with the following explanation:
The category will be populated properly when the screen is opened in mobile but when it is opened in desktop, the attach content control behaves like a normal file atttach functionality.
Pegasystems Inc.
IN
Hi, what do you mean by - "all categories always come out somehow"
Whatever attachment category you select in property panel will be used at runtime to attach the file to workobject.
Pegasystems Inc.
AU
Hi Raidv,
Thank you for your reply.
Yes. I mean all categories always come out in a drop down list.
Do you mean that if we do not select anything the one we set in the property will automatically set?
Is there any way we can stop listing other categories in the drop down list?
Pegasystems Inc.
IN
This is a design time configuration of attachment category, I don't see any reason why all categories(in current hierarchy) shouldn't be listed in there. The list is what is shown in OOTB attachment gadget as well. Do you have any business justification to show limited set of categories?
If you do not select any category, default 'File' category is used at runtime.
You can also use property reference and whatever is the value of property at runtime will be the category used while saving attachment.
Pegasystems Inc.
AU
Justification is: We do not want users to set other categories other than the one we set because we have a section which we need to show files in the category only. I also remember that we were able to fix the category before...
Anyway, I also submit SR to check whether there is a way to archive what we want to do.
Thank you & Regards,
Pegasystems Inc.
US
Hi!
Could you please reply with the SR ID that you opened so that we may track for you?
Thanks!
Pegasystems Inc.
AU
Hi,
Here is SR ID for this topic.
SR-B95831 Updated: set attachment category in the Attach content does not work
Pegasystems Inc.
IN
Who is 'users' in your case? Is it pega-developer/designer or end-user?
Since category is a design time configuration, end-user can never override it.
Accepted Solution
Pegasystems Inc.
US
Upon reviewing the associated SR, it was resolved with the following explanation:
The category will be populated properly when the screen is opened in mobile but when it is opened in desktop, the attach content control behaves like a normal file atttach functionality.
Pegasystems Inc.
AU
Since this is working as a design, I had customized the flow and activity base on the article below.
Drag and Drop attachments-Default Category is not set
https://community.pega.com/support/support-articles/drag-and-drop-attachments-default-category-not-set
Thank you.