• Курсы Академии Кодебай, стартующие в мае - июне, от команды The Codeby

    1. Цифровая криминалистика и реагирование на инциденты
    2. ОС Linux (DFIR) Старт: 16 мая
    3. Анализ фишинговых атак Старт: 16 мая Устройства для тестирования на проникновение Старт: 16 мая

    Скидки до 10%

    Полный список ближайших курсов ...

@findfreeresource

  • Автор темы Shandrik
  • Дата начала
S

Shandrik

Попросили допилить базу "Резервирования". Надо добавить в поиск ещё один параметр. Обнаружил, что поиск спрятан в недокументированной функции @FindFreeResource.

Keyarg:="CN=*/"+"O="+Site;
ResNameCheck:=@FindFreeResource(Keyarg;ResourceType;StartDateTime;EndDateTime;tmpCapacity;9999;[]);

Что там последним параметром? Какие вообще особенности работы с ней?
 
Последнее редактирование:

savl

Lotus Team
28.10.2011
2 601
312
BIT
215
Все что нашел, параметр после 9999, наверное для служебных слов, но описания нет
n the form of the Designer Help:
Syntax
@ Find free resource ( key , resource type , start datetime ; EndDateTime ; capacity ; results )
Parameter
T
Text. If, in canonical form whether you wish to receive from all the
resources of a site (Site) or only in certain categories of results. "CN=* / O = Berlin" is looking for all the resources of the site "Berlin",
"CN =* / OU = Projector / O = Berlin" only searches the category of resources "Beamer" the location "Berlin".
Resource Type
Text. "1" is looking for spaces, "2" in resources.
StartDateTime
Time / date. Beginning of the desired reservation.
EndDateTime
Time / date. End of the desired reservation.
Capacity
Sets number at room reservation ( resource-type "1") set the minimum
required capacity.
Results
Number Specifies the maximum number of hits, which may return the function.

Return Value
Resource name
Text or text list. The names of the criteria according to resources found in canonical form. If more results displayed as a connected set
will, as resources are the preferred whose capacity is closer to the capacity lie.
If no relevant resources found with the criteria it is evaluated to an empty string "back".
 
  • Нравится
Реакции: Shandrik
S

Shandrik

> n the form of the Designer Help:

Это из хелпа что ли? Я не нашел.
 
Мы в соцсетях:

Обучение наступательной кибербезопасности в игровой форме. Начать игру!