FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 ServerFile.CreateFile
ホーム • Customization Tools • FCAS • Language Reference • ServerFile.CreateFile
 
Purpose
Creates files on the FirstClass server.
This allows the creation of any type of object anywhere that the FCAS gateway:
•       can access
•       has permission to create items.
Syntax
ServerFile.CreateFile ("[Path |] ObjectType" [, FormID] [, IconID] [, Position])


Path
You can specify either a full path, or a relative path where you have a container open and want to create files in that container.
ObjectType
Any object type that corresponds to internal object types.
Constants are provided for major types:
•       fcConference
•        fcFolder
•       fcConfItem
•       fcMessage
•       fcText
•       fcFile
•       fcForm
•       fcChat
•       fcSysInfo
•       fcFormDoc
•       fcHitList
•       fcDocument
•        fcPermStationery
•       fcTempStationery.

Example
Dim sf as ServerFile
sf.CreateFile("TestFolder|TestDoc1",fcDocument) ' Create a document in TestFolder with default values
sf.CreateFile("TestFolder|TestDoc1",fcDocument,10000) ' Create a document in TestFolder with FormID 10000
sf.CreateFile("TestFolder|TestDoc1",fcDocument,10000,8000) ' Create a document in TestFolder with FormID 10000, IconID 8000
sf.CreateFile("TestFolder|TestDoc1",fcDocument,10000,8000,10,100) ' Create a document in TestFolder with FormID 10000, IconID 8000, position x 10, position y 100
sf.CreateFile("TestFolder|SubFolder",fcFolder) ' Create a folder in TestFolder with default values

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<