1. Cecilia Jiménez Bedoya
  2. PowerServer Web
  3. Friday, 15 June 2018

Hello, I´m working with Powerserver in PB2017. I´m making a website, I have a form and I want to open a document.

Once I have the document in the server, how do I do if I want than when I click on a field in a datawindow the document will be open in the browser?

 

Thank you. 

Appeon Support Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi Cecilia,

You can use the similar codes as following to open the URL from the default browsers:

inet l_inet

string ls_url = "http://www.at.gov.ae:7007/resources/OnlineService/097BDF5C-ECC1-48FE-B505-5235501CE9FF.pdf"

l_inet = create inet

l_inet.hyperlinktourl(ls_url)

Destroy l_inet

Regards,
ZhaoKai

Comment
There are no comments made yet.
  1. Wednesday, 20 June 2018
  2. PowerServer Web
  3. # 1
Govinda Lopez Accepted Answer Pending Moderation
0
Votes
Undo

Hi Cecilia:

 

You can use Appeon's File Server for that. You would need to install it in your server and use the functions available in PowerBuilder. You may find more detailed information about it here.

 

I hope this helps.

 

Regards,

Comment
Hola Govinda, gracias por contestar.



He visto respuestas tuyas en español así que prefiero escribirte en mi lengua .



He visto el video del Appeon´s File Server que tiene Marco Meoni en la web. He intentado reproducir el ejemplo exactamente igual al suyo y me da un error -1 al hacer el upload. No se que estoy haciendo mal.



De todas formas, para utilizar el appeon´s file server tendria que hacer un download en el cliente y yo no querría tener que descargar el fichero, simplemente querría mostrarlo. No se si esto es posible con este objeto o tendría que hacer otra cosa.



 



Muchas gracias.

  1. Cecilia Jiménez Bedoya
  2. Monday, 18 June 2018
There are no comments made yet.
  1. Friday, 15 June 2018
  2. PowerServer Web
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.