cachoteries

Forum destiné aux questions sur le développement : Formules, LotusScript, Java ...

cachoteries

Messagepar Cedric » 23 Oct 2003 à 10:22

Voici la liste complète des fonctions non documentées en v5.@AccountGetInfo(|text; text)@AddBusyTime(|text; text; date)@AdminCreateRequest(|date; [variant])@AdminDelegateMailFile(|number; text; text; text; text; text; text; text; text; text; text; text; text; text; text; text; text)@AdminPerformAction(|date; [variant])@BitAnd(|[number])@BitNot(|number)@BitOr(|[number])@BitShift(|number; number)@BitXor(|[number])@CharSetInfo(|variant)@DbUnreadCount(|text)@ExpandNameList(|text; text)@FindFreeResource(|text; text; text; text; [variant])@FindFreeTime(|text; text; date; number)@GetMembers(|variant; number; number)@LocationGetInfo(|date)@LocationGetOSTZ@LocationGetTZ@LocationGetTZ(|variant)@MailConfirmPreference@MailFilterAddToFolder(|text)@MailFoldersPreference@NetAccount(|date)@OpenCalendar(|date; [variant])@UpdateViewDesign(|text)@URLSubmit@URLSubmit(|number)@X509Certificates(|date; text; [variant])Voici la liste complète des fonctions non documentées en v6.0.0@AttachmentLengths(|excludeMIMEBody)@AttachmentModifiedTimes(|excludeMIMEBody)@AttachmentNames(|excludeMIMEBody)@Attachments(|excludeMIMEBody)@CertBlobPack(|blob item name; blob type; prefix; number)@CertBlobUnpack(|blob item name; blob type; prefix; number)@CRLList(|[keyword]; fieldname; start at; max return)@DbAdminServer@GetSoftDeleteExpireTime@IsDbPrimaryAB@IsSoftDeleteEnabled@IsXACLEnabled@SetSoftDeleteExpireTime(|number)<Petit commentaire>@AttachmentLengths est documenté, mais il existe une version qui prend un paramètre et ce paramètre n'est pas documenté.</Petit commentaire>
Cedric
 

Re: cachoteries

Messagepar Raziel » 23 Oct 2003 à 10:35

Salut,Sais tu où l'on pourrai trouver le def de ces fonctions ? Certaines me sont inconnu.
Raziel

L'administration est un lieu ou les gens qui arrivent en retard croisent dans l'escalier ceux qui partent en avance. [Georges Courteline]
Avatar de l’utilisateur
Raziel
Modérateur
Modérateur
 
Message(s) : 1795
Inscrit(e) le : 21 Déc 2004 à 11:06
Localisation : Roubaix

Re: cachoteries

Messagepar Cedric » 23 Oct 2003 à 10:39

c tout ce que j'ai :o(si j'en avais plus, j'l'aurai posté avec.mais ce qui est déjà bien c'est qu'il y a une partie de l'explication avec les paramètres attendus, ce n'est pas juste un nom de fonctionexemple:@AccountGetInfo(|text; text)|text = une texte liste, par extension |number = une number listtext = une valeur texte unique.Ca aide déjà pas mal, après un peu d'expérimentation et de bon sens doit permettre d'en comprendre la plus part :)
Cedric
 

Re: cachoteries

Messagepar Raziel » 23 Oct 2003 à 10:44

D'accord avec toi...C'était juste pour éviter les tests... ;-))
Raziel

L'administration est un lieu ou les gens qui arrivent en retard croisent dans l'escalier ceux qui partent en avance. [Georges Courteline]
Avatar de l’utilisateur
Raziel
Modérateur
Modérateur
 
Message(s) : 1795
Inscrit(e) le : 21 Déc 2004 à 11:06
Localisation : Roubaix

Re: cachoteries

Messagepar Droad » 24 Oct 2003 à 10:29

trop fort ! d'ou ça vient ?Pour compléter, des précisions sur quelque paramètres (v5):_________________________________________________________@URLEncode(type; url)type: "DOMINO" ou"Platform" ou ""_________________________________________________________@FindFreeResource(Keyarg;ResourceType;StartDateTime;EndDateTime;Capacity;MaxNumberofRooms)Used in conjunction with Resource Reservation, (you can find this one being used in the Calendar Entry form in your mail)@Command([FindFreeTimeDialog]; reqAttendees; optAtendees; reqRooms; optRooms; reqResources; optResources; remAttendees; StartDateTime; EndDateTime)Parameters:reqAttendeesText or text list. One or more item names from the note for required attendees. Notes gives priority to required attendees over optional attendees when scheduling meetings. You should make the first item in the list of required attendees the chairperson of the meeting. Notes gives priority to the chairperson's schedule and required rooms when scheduling meetings. If you change the the list of attendees from the Free Time box, Notes updates the rooms, attendees, and resources when you exit.optAttendeesText or text list. Optional. One or more item names from the note for optional attendees.reqRoomsText or text list. Optional. One or more item names from the note for required rooms. optRoomsText or text list. Optional. One or more item names from the note for optional rooms.reqResourcesText ot text list. Optional. One or more item names from the note for required resources. Different icons represent the attendees, rooms, and resources in the "By Person" display of the Free Time box.optResourcesText or text list. Optional. One or more item names from the note for optional resources. remAttendeesText or text list. Optional. One or more item names from the note for invitees people removed from any of the above list.StartDatetimeDate-time. Item name of the starting date and time. You must specify the StartDateTime and EndDateTime.EndDateTimeDate-time. Item name of the ending date and time. If you change the start and/or end of the meeting and press OK, Notes updates the meeting time when you exit. The EndDate Time must be later than the StartDateTime.UsageYou must specify at least one of the lists of items for the FreeTime lookup to occur. If you don't need a particular parameter, you can use consecutive quotes ("") to omit it. The appointment time should not span midnight._________________________________________________________@LocationGetInfo(parameter)Gives you values from the users Location document.Parameter:[BookmarksFileName][AreaCode][CatalogServer][HomeServer][InternetMailAddress][MailProtocol][NamePreference][SametimeServer][WebRetriever]This is probably not a complete list _________________________________________________________@ExpandNameList(server:filepath; groupname)_________________________________________________________@X509Certificates(parameters)ex 1:@X509Certificates([Subject];UserCertificate;Certificate);@X509Certificates([Issuer]; UserCertificate);AltName:=@Certificate([AlternateSubject];Certificate);@Command([CreateCrossCert];UserCertificate;Certificate;loc2;"0")Altlang:=@Certificate([AlternateLanguage];Certificate);@Locale([LanguageName];@Certificate([AlternateLanguage];Certificate))) ex 2: (AddSenderToAddressBookAgent in the mail template)Me.m_vResult = Evaluate(|@X509Certificates([AddSignersCerts];NULL;"| & Me.m_PersonalNAB.filename & |";"| & Me.m_vretAllFullName(x)& |";@DBName;"| & Me.m_strNoteID(x) & |")|)_________________________________________________________@Command([ChooseFolders])It sets three magic and undocumented fields $Folders, $LocalPrivateFolders and $PrivateFolders, and files the document in the folders mentioned. In this, it's like @Command([Folder]) but that doesn't set those fields._________________________________________________________@Prompt([LocalBrowse])Display a file-open dialogbox@Prompt([ChooseDatabase])Display a database-open dialogbox_________________________________________________________@Picklist([Name])When using @Picklist([Name]) to allow a users to select a group of people from the Name & Address Book I was frustrated that the current selections did not show up in the Added section of the @Picklist Name dialog. The documentation doesn't list it, but @PickList([Name]) can take a second parameter that specifies the defaultsfor the added area in the dialog. DefaultReviewers := "Bill":"Ted":"Ray";FIELD Reviewers := @PickList( [Name]; DefaultReviewers )_________________________________________________________@GetMembers(list ; index [; number ])Return one or more elements from list, given a position.It does work like this:list : list of what you wantindex : integer, give the position of the elements to reachnumber : optional, number of elements to return (default 1)exemple : This macro returns the list "b":"c" list := "a" : "b" : "c" : "d" : "e";@GetMembers(list; 2; 2)This one returns "d"list := "a" : "b" : "c" : "d" : "e";@GetMembers(list; 4)_________________________________________________________@DbCommand(Type; "LoadAddressListBy_"; TargetNAB; fieldname; max#; SearchString) this command is used in the lotus web mail client. The command LoadAddressListByName allows for you to enter a string such as "A" to go to the first name that matches or LoadAddressListByIndex to pull by number in view. Code:Type - database to access, "Domino" command - either "LoadAddressListByName" or "LoadAddressListByIndex"TargetNAB -local address book on server "names.nsf"Fieldname - fieldname in quotes of the field that will hold the address selection listmax# - maximum entries to show in the listsearch string / Index - If you use the "LoadAddressListByName" command then the string placed here will cause the fuction to return the max entries starting with the first match. other wise it's the starting index in the address book. great for paging through.The value returned will be an html selection list.The action to get the selected name uses the following command:FIELD tmpSendto :=@Name([Abbreviate];tmpAddressList)This will return the abbreviated name if a notes user or the internet mail address for all others .the command will return all the persons and groups that are mail enabled from the n&a.tmpAddressList is computed text field just used as a place holder..ex:FIELD tmpSendTo :=@Name([Abbreviate];tmpAddressList);@Command([ViewRefreshFields]);@If(tmpSearchString = "";@SetField(tmpCurIndex; @DbCommand("Domino"; "LoadAddressListByIndex"; TargetNAB; "tmpAddressList"; "200"; tmpCurIndex));@SetField(tmpCurIndex; @DbCommand("Domino";"LoadAddressListByName"; TargetNAB; "tmpAddressList"; "200";tmpSearchString)));FIELD tmpNextIndex := @Text( @TextToNumber(tmpCurIndex) +200 );@Success_________________________________________________________@AdminCreateRequest@AdminPerformActionThey are internal functions @functions used to create Adminp requests@RegQueryValue("HKEY_LOCAL_MACHINE"; "SOFTWARE\\Network Associates\\TVD\\Shared Components\\VirusScan Engine\\4.0.xx\\"; "szDatVersion")[%sig%]
Droad
 

Re: cachoteries

Messagepar Cedric » 27 Oct 2003 à 11:51

en fait, je les ai cherchées directement dans le code de Notes.On est jamais aussi bien servi que par soit même :o)
Cedric
 

Re: cachoteries

Messagepar Dominux » 28 Oct 2003 à 12:41

Une source possible est directement le code du modèle mailx.ntf. Une vraie mine d'or de template.Olivierhttp://www.dominux.net
Cordialement,
Olivier (www.dominux.fr et sur Twitter)
Image
Avatar de l’utilisateur
Dominux
Administrateur
Administrateur
 
Message(s) : 1201
Inscrit(e) le : 16 Déc 2004 à 10:56
Localisation : Nantes

Re: cachoteries

Messagepar Cedric » 30 Oct 2003 à 08:51

c'est vrai que si on a le temps, on peut farfouiller dans les modèles, ça permet de comprendre les paramètres :o)Un outil comme TeamStudio Configurator permettra de faire une recherche rapidement dans une base pour savoir si elle utilise telle ou telle @fonction.
Cedric
 


Retour vers Développement

cron