Un foro de discusión para nuestra comunidad de hispano hablante
#786870
Buenas tardes a todos, quisiera saber si puedo hacer lo siguiente:

He creado un documento de entrada y quisiera que este disponible a forma de link, botón o algo por el estilo en un dynaform.

Lo que pasa es que necesito tener el documento de entrada dos veces en una misma tarea, para que el usuario actual pueda ver el documento que adjuntó el usuario anterior, luego llenar un dynaform y seguidamente el usuario actual adjuntar un nuevo archivo en el mismo documento de entrada.

En espera de su amable respuesta, quedo atento. Gracias por la ayuda!!
#825686
Hi,
I use this way but always have the link empty.
Image
If you see the picture:
1. The file was uploaded
2. The file is in the server
3. The trigger is cofigured and used as say in the article
4. The field "Cotización" is emty

What can happend?

Tks
Attachments
Imagen1.png
Imagen1.png (269.31 KiB) Viewed 9193 times
#825711
FreddyBernal wrote: Tue Jul 30, 2019 8:45 am If you see the picture:
1. The file was uploaded
2. The file is in the server
3. The trigger is cofigured and used as say in the article
4. The field "Cotización" is emty

What can happend?
When you run the case in Debug Mode, are your receiptFilename and receiptUrl variables being set?

Cotización needs to be a link field and its display text property set to @@receiptFilename and its href property to @@receiptUrl

You also should use this code to generate a complete URL:
Code: Select all
   if (is_array($results) and count($results) > 0) {
      $g = new G();
      @@receiptUrl = ($g->is_https() ? 'https://': 'http://') . $_SERVER['HTTP_HOST'] .
         '/sys' . @@SYS_SYS .'/'. @@SYS_LANG .'/'. @@SYS_SKIN . '/cases/cases_ShowDocument?a=' . $results[1]['APP_DOC_UID'] .
         '&v='. $results[1]['DOC_VERSION'];
   }

A 1xbet clone script is a pre-designed software so[…]

4rabet clone script is enabling entrepreneurs to e[…]

Parimatch clone script is enabling entrepreneurs t[…]

In the world of cryptocurrency, a wallet is an app[…]