Valeur du Checkbox
Salut à tous,J'ai un petit problème car je cherche à mettre les valeurs d'un checkbox en lotusscript via un agent et cela ne fonctionne pas. La page fonctionne pour le web mais le champ n'apparait même pas....Voici mon code de l'agent, celui est appelé vi le WebQueryOpen :Sub Initialize Dim session As New NotesSession Dim db As NotesDatabase Dim acl As NotesACL Dim entry As NotesAclEntry Dim i As Integer Set db =session.currentdatabase Set acl = db.acl Set entry=acl.getFirstentry i=0 While Not entry Is Nothing i=i+1 Set entry=acl.getNextEntry(entry) Wend e=i If e<>0 Then Dim arrayRole () As String Redim arrayRole(e) As String Dim entryInt As NotesAclEntry Set entryInt = acl.getfirstEntry j=0 While Not entryInt Is Nothing j=j+1 arrayRole(j)=entryInt.name Set entryInt=acl.getNextEntry(entryInt) Wend 'on met les données dans le champ Dim docCourant As NotesDocument Set docCourant=session.documentContext Dim Item As NotesItem Set item = docCourant.getFirstItem("OperateurRole") Call item.appendToTextList(ArrayRole) Call docCourant.save(True,True) End IfEnd SubMerci d'avance