Doclink

Hello, would I like to know that so is possible to make a doclink with a selection in a picklist and to make display it in a field?

1 - button executing a picklist

2 - the user chosen a document

3 - the chosen document is a doc link in a field of the mask

The user can push then later on doc link and can open the chosen document.

Is what it is possible.

Thank in advance!!!


Bonjour, j’aimerais savoir si c’est possible de faire un doclink avec une sélection dans un picklist et de le faire afficher dans un champ ?

1- Bouton exécutant un picklist

2- L’utilisateur choisi un document

3- Le document choisi est un doc link dans un champ du masque

L’utilisateur peut alors appuyer sur le doc link plus tard et ouvrir le document choisi.

Est-ce que c’est possible.

Merci en avance !!!

Subject: Doclink

I would think it would be possible, although the doclink wouldn’t show up until the document had been saved and closed. Have your picklist return the UNID of the selected document. Store the UNID in a field on the form. Then, in your querysave or postsave, grab the name of your rich text field, do a doc = db.getdocumentbyunid(thisDoc.fieldNameHoldingUNID(0)) and do an appenddoclink to the rich text field.