cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP MDK - upload video as attachment

Radek_Uhlir1
Participant
0 Likes
361

I am using SAP Asset Manager 2310 on Android. I am unable to select and upload a video file as an attachment. I have read to use a "Select file" option. When I choose the "Select file",  all video files are gray (not selectable). I can choose photos.

UI component: "_Type": "Control.Type.FormCell.Attachment"

Changing these had no effect:

"AttachmentActionType": ["SelectFile"],
"AllowedFileTypes": [],

Is it possible to upload a video from SAP Asset Manager to S/4HANA as an attachment?

Accepted Solutions (1)

Accepted Solutions (1)

Arunachalam
Product and Topic Expert
Product and Topic Expert
0 Likes

@Radek_Uhlir1 

AllowedFileTypes are set in Control.Type.FormCell.Attachment based on application parameter in MAIF - Refer screenshot below.

UploadFileTypes.png

SetUpAttachmentTypes.png

Radek_Uhlir1
Participant
You are correct, types are overwritten in on-load functions. I added the value into the parameter and it works. Thanks.

Answers (1)

Answers (1)

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Radek_Uhlir1 

You should be able to select a video file, in addition to photos and other file types, when using the "Select File" option in the attachment control.

What MDK version are you using, and what Android version are you on? 

 

Radek_Uhlir1
Participant
0 Likes
Android 14 (API 34), MDK 24.4.3.