Skip to content

Commit

Permalink
Merge pull request #16 from dynamicweb/mss/18003-Remove-Option-Folder
Browse files Browse the repository at this point in the history
Removed use of folder=... in the add-in options.
  • Loading branch information
MatthiasSort authored Feb 19, 2024
2 parents 5ec6022 + 8b912fa commit e664d43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/CSVProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ public virtual bool DestinationFirstRowContainsColumnNames
public virtual bool IncludeTimestampInFileName { get; set; }

//path should point to a folder - if it doesn't, write will fail.
[AddInParameter("Source folder"), AddInParameterEditor(typeof(FolderSelectEditor), "folder=/Files/"), AddInParameterGroup("Source")]
[AddInParameter("Source folder"), AddInParameterEditor(typeof(FolderSelectEditor), ""), AddInParameterGroup("Source")]
public string SourcePath
{
get { return _path; }
set { _path = value; }
}

[AddInParameter("Source file"), AddInParameterEditor(typeof(FileManagerEditor), "folder=/Files/;Tooltip=Selecting a source file will override source folder selection"), AddInParameterGroup("Source")]
[AddInParameter("Source file"), AddInParameterEditor(typeof(FileManagerEditor), "Tooltip=Selecting a source file will override source folder selection"), AddInParameterGroup("Source")]
public string SourceFile { get; set; }

[AddInParameter("Delete source files"), AddInParameterEditor(typeof(YesNoParameterEditor), ""), AddInParameterGroup("Source")]
public bool DeleteSourceFiles { get; set; }

[AddInParameter("Destination folder"), AddInParameterEditor(typeof(FolderSelectEditor), "folder=/Files/"), AddInParameterGroup("Destination")]
[AddInParameter("Destination folder"), AddInParameterEditor(typeof(FolderSelectEditor), ""), AddInParameterGroup("Destination")]
public string DestinationPath
{
get { return _path; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>10.0.4</Version>
<Version>10.0.5</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Title>CSV Provider</Title>
<Description>CSV Provider</Description>
Expand Down

0 comments on commit e664d43

Please sign in to comment.