Library Clients 0,if((getToken(ExternalIPAddress)="__RemoteIP__") or ("__RemoteIP__"="127.0.0.1") or ("__RemoteIP__"=getInternalIPAddress()),"127.0.0.1:"+getToken(GreenLight_Client_Https_Port),getToken(ExternalIPAddress)+":"+getToken(GreenLight_Client_Https_Port)),"127.0.0.1:"+getToken(GreenLight_Client_Https_Port))}";>
For example: c:\\temp; c:\\temp2; -*.zip would include all files in c:\\temp and c:\\temp2 except for zip files.">

Debugging

User-Agent__user-agent__
RemoteIP__RemoteIP__
LibraryServer__LibraryServer__
IsLocalLibrary__IsLocalLibrary__
SessionID__SessionID__
IsAdmin__IsAdmin__
LibraryClient__LibraryClient__
Page__page__
Tab__tab__
SubPage__SubPage__
RecordID__RecordID__
MaxRecords__MaxRecords__

Library Clients

Delete "__$name$__"?

Edit Library Client

0) and (not(startsWith('__LibraryClient__','__LibraryClient')))">
General General Organize Schedule Sharing Email Lists Ftp Accounts Library Hosts Scripts Embed History Notes

Sets


Set 1 Set 2 Set 3
Set 4 Set 5 Set 6
Tags


0)">
Name
Type {@htmlSelect(Library_Client_Type,field_Client_Type,0,"")} 
Type __Client_Type__
Client ID: __LibraryClient__
Filespec
> Recurse directories

Select documents to add from the other library

Library Host
Client
Client ID's (Names or ID's, separated by spaces)
File Type (Separate multiple extensions with a space)
Set 1 Set 2 Set 3
Set 4 Set 5 Set 6
Tags

Enter the URL of the page containing the feed (e.g. www.mypage.com)

Host
Feed
Feed


Description



Sets

Set 1 Set 4
Set 2 Set 5
Set 3 Set 6

Description


Tags:

Scheduled Task

> Enable this task
Interval
Start Date ' size='10'> Start Time ' size='10'>

Interval between executions
Years Months Days Hours Minutes Seconds

Days to execute
> Sun > Mon > Tue > Wed > Thu > Fri > Sat
Last Execution: __TaskLastExecuted__
Next Execution: __TaskNextExecution__

0) and (not(startsWith('__LibraryClient__','__LibraryClient')))">

Delete User

Delete ""?

Edit User

Email Address

'new') and (len('__RecordID__')>0)">

This user is the administrator of the library client and has all permissions enabled.


Permissions for this user:

> Edit documents
> Add documents
> Delete documents
> Edit document settings


Users

Add a new user


0) and (not(startsWith('__LibraryClient__','__LibraryClient')))">

Delete User

Delete ""?

Edit Email List

Name
Email Addresses (separate with a semi-colon)




Email Lists

Add a new email list


0) and (not(startsWith('__LibraryClient__','__LibraryClient')))">

Delete User

Delete ""?

Edit Ftp Account

Name
Host
User Name
Password
Passive



Ftp Accounts

Add a new ftp account


0) and (not(startsWith('__LibraryClient__','__LibraryClient')))">

Delete User

Delete ""?

Edit Library Host

Name
Library Address
> Host uses secure connection
User Name
Password

Library Hosts

Add a new library host


A url or expression can be called before and after updating a library client. These can be used to execute a script or command. The pre-script contents are always evaluated when a library client is updated. The post-script content is only evaluated when one or more documents are added or updated in the client. The result of the content is recorded in the history for the client.

The post-script content is evaluated immediately after documents are updated. The expression should not depend on any document postings being completed before it is called.

The tokens $ClientID$, $ClientName$ and $ClientDocumentCount$ can be used in the url or expression to refer to the library client ID and name and to the number of documents contained in the client.

Pre-Script
Content


Post-Script
Content



As an RSS Feed




Notes

Display
Add a new library client
Transport Queue
Transport Queue

First Page 0"> Previous 0)"> Previous Next Next Last Page Page __ClientsTable_Page__ of __ClientsTable_PageCount__
=0) strUserID = driverGetFieldAbsolute(drvSession,"User_ID",intRecord) //get a collection of library clients the user is associated with arLibraryClients = getCollection(Library_Clients_For_User_Unsorted,"User_ID="+strUserID) //need to remove any quotes from the collection because they interfere with the include tag arLibraryClients = replacesubstring(arLibraryClients,char(0x22),"") arLibraryClients = replacesubstring(arLibraryClients,char(0x27),"") //set the filter if (strUserID="aspectsupport") strFilter = "(startsWith("+ID+char(0x2c)+"aspect)) or (admin_user="+quote("aspectsupport")+")" else strFilter = "pos("+ID+char(0x2c)+quote(arLibraryClients)+")"+char(0x3E)+"=0" endif //strFilter = "true" //set the fields to be included if (pos("ipod","user-agent")>=0) strFields = replaceSubstring("ID|Edit|Delete|Name|Documents|View_Transport_Queue","|",char(0x2c)) else strFields = replaceSubstring("Row|Edit|Delete|Set1|Set2|Set3|ID|Name|Description|statDocumentCount|statLastModified|Documents|Client_Type|TaskEnabled|TaskLastExecuted|Admin_User|View_Transport_Queue","|",char(0x2c)) endif //create an include tag that will be processed by htmlGetContent() below strInclude = char(0x3C)+"!!include type: driver"+char(0x3B) strInclude = strInclude + "driver: 'Library_Client'"+char(0x3B) strInclude = strInclude + "params: 'UserID=__UserID__'"+char(0x3B) strInclude = strInclude + "cellFormatting: 'false'"+char(0x3B) strInclude = strInclude + "fields: "+quote(strFields)+char(0x3B) strInclude = strInclude + "filter: "+quote(strFilter)+char(0x3B) strInclude = strInclude + "sort: 'Set1,Set2,Set3,Name'"+char(0x3B) strInclude = strInclude + "tableborder: 'true'"+char(0x3B) strInclude = strInclude + "class: 'basic1'"+char(0x3B) strInclude = strInclude + "name: 'ClientsTable'"+char(0x3B) strInclude = strInclude + "startrecord: __CalcStartRecord__"+char(0x3B) strInclude = strInclude + "maxrecords: __MaxRecords__"+char(0x3B) strInclude = strInclude + char(0x3E) //replace single quotes with double quotes strInclude = replaceSubstring(strInclude,char(0x27),char(0x22)) scriptSetResult(strInclude) else scriptSetResult("No clients...") endif ";>