Sharepoint application scopeを使って、
Sharepoint上にフォルダ作成後、ファイルのアップロードを行うロボを作っています。
Excelで作っておいたマスタに、SharepointのURL情報をロボ実行前に記載しておき、
万が一フォルダがなければ、
フォルダを作成してからファイルアップロードという流れにしたいです。
Sharepointへのアップロード処理はうまくいったのですが、
CreateFolderのアクティビティに関して、設定値がよくわからずExceptionになってしまいます。
設定値について教えていただけますでしょうか?
以下、今の設定値です。
★Sharepoint application scope
(UiPathTeam.Sharepoint.Activities.SharepointApplicationScope)
・Sharepoint Instance Type … Online
・Password/UserName … 変数で指定済み
・URL … “https://〇〇〇.sharepoint.com/sites/◇◇◇” ※SharepointのURLを親フォルダまで指定
★UpLoad File
(UiPathTeam.Sharepoint.Activities.Libraries.UpLoadFile)
・AllowOverwrite … チェックあり
・LocalPath … Cドライブ内の特定ファイルを指定
・RelativeUrl … “/Shared Documents/” & "△△△/☆☆☆ ※親階層以下のフォルダを指定
★Create Folder
(UiPathTeam.Sharepoint.Activities.Libraries.CreateFolder)
UpLoad Fileで記載している、△△△や☆☆☆がなければ作成したいです
・LibraryName … こちらの設定値が知りたいです
→説明だと「The name of the library where the folder is created」となってます
・RelativeUrl … こちらの設定値が知りたいです
→説明だと「The complete url ( relative to the library) of the new folder」となってます
Create Folderの設定値についてアドバイスください。よろしくお願いいたします。