Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to upload a file from web application in Adobe Campaign?

Avatar

Avatar
Validate 1
Level 1
joydeep_kundu
Level 1

Like

1 like

Total Posts

25 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
joydeep_kundu
Level 1

Like

1 like

Total Posts

25 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
joydeep_kundu
Level 1

08-08-2015

Hi,

In Adobe  Campaign Webpage I have a file upload control. But when I am uploading the file it is endlessly uploading and after some time giving an error message. Please let me how to configure the file upload process in this particular senario?


file1.JPG

file2.JPG

Thanks & Regards,

Joydeep

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

225 posts

Correct Reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile

Avatar
Springboard
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

225 posts

Correct Reply

56 solutions
Top badges earned
Springboard
Establish
Contributor
Give Back 25
Give Back 10
View profile
MarcelSzimonisz
MVP

04-06-2018

Hello joydeep.kundu​,

See this answer. hope it helps

How to Upload a file using Webapp Adobe Campaign?

Marcel

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Level 3
Yassine_N
Level 3

Likes

20 likes

Total Posts

24 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Level 3
Yassine_N
Level 3

Likes

20 likes

Total Posts

24 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
Yassine_N
Level 3

27-09-2019

1.

choose context variable (eg ctx.vars.file) to save your file from form

2-3 step:

See any file res  xml to know what to save

ctx.vars.file -->has e.g @md5, @originalName. 

//create all fields you want to save 

//create xml  var fileResXml = <fileRes contentType={contentType} 

internalName={intName}

label={originalName} md5={md5Var}

name={destFileName} originalName={originalName} 

xtkschema="xtk:fileRes"><folder id={folderId}/></fileRes>;

//create file res obj  var fileResObj = xtk.fileRes.create(fileResXml);

//publish  fileResobj.PublishIfNeeded();  //save it to db  fileResobj.save(); 

var fileResId = *query resource id by unique internal name*; 

///save resource id to linked table? 

fileResobj.save(); 

fileRfileResobj.save();esobj.save(); 

Avatar

Avatar
Validate 1
Level 2
srikanthr646926
Level 2

Likes

4 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
srikanthr646926
Level 2

Likes

4 likes

Total Posts

23 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
srikanthr646926
Level 2

02-05-2018

Hi Joydeep is it Resolved? I am looking for similar thing