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

jferreira10
Community profile jferreira10 Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 27-04-2018 12:42:26 AM
Offline
Top badges earned by jferreira10
Customize the badges you want to showcase on your profile
Re: HttpClientRequest not returning the full response
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Classic
Hello,I managed to do this in another way (will share how, in case more people need it).I was using the code in a JavaScript and using a webApp variable to pass the content from the JS to the page item.This was solved by executing the javascript code in the page itself.Apparently we can't store the result of a PDF in a var because there are some EOF text that can corrupt the result. So the final code is:<%var url = 'https://www.soundczech.cz/temp/lorem-ipsum.pdf';var http = new HttpClientRequest...

Views

1.0K

Like

1

Replies

0
Re: HttpClientRequest not returning the full response
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Classic
This can be a good solution!Can you provide a quick example? Thank you so much

Views

868

Likes

0

Replies

0
Re: HttpClientRequest not returning the full response
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Classic
I tried with a try catch but the end result is the same. I have the same feeling, there should be a set of chars that ends the stream, be it in logInfo or displaying it in the page.I think I'll have to try another approach.I must read the PDF because we have it in a webserver in the network that is not public, so I need to grab the PDF and make it public.Thank you for the help

Views

867

Likes

0

Replies

0
Re: HttpClientRequest not returning the full response
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Classic
Hello, Thanks for the tips. I'm now testing on a workflow because it's faster. The log I see is something like this: The feeeling I have is that the response it not complete or there's something limiting the response. This was obtained with the getUrl() function, seems the output it's the same. About permissions, I would say it's not the case because I can receive partial answer, so it connects successfully.Although if you think it's an issue on serverConf, maybe I can give it a try.Thanks

Views

868

Likes

0

Replies

0
HttpClientRequest not returning the full response
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Classic
Hello,My goal is to have a webform with a link for the client to download a PDF, this PDF should come from a HTTP request from a server in our network and I will display it via webform to the public.I'm not able to receive the full response for a PDF on an HttpClientRequest, it seems that everytime the pdf is incomplete, if I try with a website URL the response is longer and ok, but never with PDF.I've try all kinds of hearders but with no success.Here's a sample of the code:Codevar url = 'https...

Views

2.8K

Like

1

Replies

7
Re: How to build a button to open a delivery
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Standard
Perfect!I didn't tested because I didn't know how to generate the security token, but without it works good.Thank you very much!

Views

387

Likes

0

Replies

0
Re: How to build a button to open a delivery
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Standard
Hello Marcel,Thank you very much for your answer.I was trying to emulate what this button in the below image does:I'm not sure if I can reproduce this window on a report, is it doable?Thank you once again!

Views

385

Likes

0

Replies

0
How to build a button to open a delivery
Avatar
Validate 1
Level 1
jferreira10
Level 1

Likes

2 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
jferreira10
- Adobe Campaign Standard
Hello, I'm developing a Report that displays some info about a certain delivery. I can get the delivery ID by SQL, but how can I create a HTML button that will open that delivery in Adobe Campaign?Thank you for your help!

Views

1.0K

Likes

0

Replies

5
Likes from