Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 965c415

Browse files
Merge branch 'JS-52510-fileexplorer-links' into 'hotfix/hotfix-v15.3.0.33'
bug(JS-52510): FileExplorer breaking link corrections See merge request !516
2 parents 3bdfc46 + 708a1ef commit 965c415

File tree

3 files changed

+97
-14
lines changed

3 files changed

+97
-14
lines changed

‎Jenkinsfile‎

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
node('content')
2+
{
3+
String platform='ASP.NET MVC';
4+
try
5+
{
6+
//Clone scm repository in Workspace source directory
7+
stage ('Checkout')
8+
{
9+
dir('Spell-Checker')
10+
{
11+
checkout scm
12+
}
13+
14+
//Checkout the ug_spellchecker from development Source
15+
checkout([$class: 'GitSCM', branches: [[name: '*/development']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'ug_spellchecker']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: env.gitlabCredentialId, url: 'https://gitlab.syncfusion.com/content/ug_spellchecker.git']]])
16+
17+
}
18+
//method to get modified file path
19+
changeLogs()
20+
}
21+
22+
catch(Exception e)
23+
{
24+
currentBuild.result = 'FAILURE'
25+
}
26+
27+
if(currentBuild.result != 'FAILURE')
28+
{
29+
stage 'Build Source'
30+
try
31+
{
32+
gitlabCommitStatus("Build")
33+
{
34+
bat 'powershell.exe -ExecutionPolicy ByPass -File '+env.WORKSPACE+"/ug_spellchecker/build.ps1 -Script "+env.WORKSPACE+"/ug_spellchecker/build.cake -Target build -Platform \""+platform+"\" -Branch "+env.gitlabSourceBranch
35+
}
36+
}
37+
catch(Exception e)
38+
{
39+
currentBuild.result = 'FAILURE'
40+
}
41+
}
42+
43+
stage 'Delete Workspace'
44+
45+
def files = findFiles(glob: '**/cireports/spellcheck/*.*')
46+
47+
if(files.size() > 0)
48+
{
49+
archiveArtifacts artifacts: 'cireports/', excludes: null
50+
}
51+
step([$class: 'WsCleanup'])
52+
}
53+
@NonCPS
54+
def changeLogs(){
55+
try{
56+
def Content="";
57+
def changeLogSets = currentBuild.changeSets
58+
for (int i = 0; i < changeLogSets.size(); i++) {
59+
def entries = changeLogSets[i].items
60+
for (int j = 0; j < entries.length; j++) {
61+
def entry = entries[j]
62+
def files = new ArrayList(entry.affectedFiles)
63+
for (int k = 0; k < files.size(); k++) {
64+
def file = files[k]
65+
echo "${file.path}"
66+
Content+= env.WORKSPACE+"\\Spell-Checker\\"+"${file.path}"+"\r\n";
67+
}
68+
}
69+
}
70+
71+
if (Content) {
72+
writeFile file: env.WORKSPACE+"/cireports/content.txt", text: Content
73+
}
74+
else {
75+
writeFile file: env.WORKSPACE+"/cireports/content.txt", text: "There are no filepaths found for this commit."
76+
}
77+
}
78+
catch(Exception e)
79+
{
80+
currentBuild.result = 'SUCCESS'
81+
}
82+
return "Success"
83+
}

‎aspnetmvc/FileExplorer/How-To.md‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ keywords: FileExplorer, Syncfusion, EJ MVC FileExplorer, UG document, How To
1212

1313
In controller page, we have specified some built-in classes at "**FileActionDefault**" action method. It helps to perform the server side operation of FileExplorer and you can find the details about these classes at below.
1414

15-
When you have made AJAX request on client-side, "FileActionDefault" method is triggered in controller part. Here received AJAX data will be stored in "[FileExplorerParams](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerParams.html#)" parameter. This "FileActionDefault" method finds out the specific operations using the "ActionType" property and calls the corresponding built-in methods of "[FileExplorerOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html#)" class.
15+
When you have made AJAX request on client-side, "FileActionDefault" method is triggered in controller part. Here received AJAX data will be stored in "[FileExplorerParams](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerParams.html)" parameter. This "FileActionDefault" method finds out the specific operations using the "ActionType" property and calls the corresponding built-in methods of "[FileExplorerOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html)" class.
1616

1717
**BasicFileOperations class**
1818

19-
"BasicFileOperations" is an abstract class and it is useful for handling file operations in server end. By inheriting this class, easily you can implement a new custom class for handling file operations in server end. Refer [class reference](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html#) of "BasicFileOperations"
19+
"BasicFileOperations" is an abstract class and it is useful for handling file operations in server end. By inheriting this class, easily you can implement a new custom class for handling file operations in server end. Refer [class reference](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html) of "BasicFileOperations"
2020

2121
**FileExplorerOperations class**
2222

23-
This class is useful for handling file operations in server end. This class inherits the "BasicFileOperations" class and its abstract methods has been implemented here for managing files in **underlying machine's physical file system**. Refer [class reference](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html#) of "FileExplorerOperations"
23+
This class is useful for handling file operations in server end. This class inherits the "BasicFileOperations" class and its abstract methods has been implemented here for managing files in **underlying machine's physical file system**. Refer [class reference](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html) of "FileExplorerOperations"
2424

2525
**FileExplorerParams class**
2626

27-
"FileExplorerParams" class is used to receive the AJAX data in server side. In server side, we have a common method to handle all the AJAX requests, which is raised from client part of FileExplorer. This method contains "FileExplorerParams" object as a parameter and it is used to store the AJAX request data that will be useful for handling file operations. Refer [class reference](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerParams.html#) of "FileExplorerParams"
27+
"FileExplorerParams" class is used to receive the AJAX data in server side. In server side, we have a common method to handle all the AJAX requests, which is raised from client part of FileExplorer. This method contains "FileExplorerParams" object as a parameter and it is used to store the AJAX request data that will be useful for handling file operations. Refer [class reference](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerParams.html) of "FileExplorerParams"
2828

2929
N> Here "ActionType" specifies following operations such as "Read", "CreateFolder", "Paste", "Remove", "Rename", "GetDetails", "Download", "Upload", "Search". Following [section](#abstract-methods-in-basicfileoperations-class) contains the details about each operation.
3030

3131
## Customizing AJAX handling functions
3232

33-
In FileExplorer, server side functionalities are necessary to handle the AJAX request of FileExplorer. Here "Syncfusion.EJ" assembly contains built-in "[BasicFileOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html#)" abstract class and implementation of "[FileExplorerOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html#)" class for providing the content to FileExplorer and handling AJAX requests. If is it necessary, you can customize the server side functionalities of FileExplorer as per your requirement.
33+
In FileExplorer, server side functionalities are necessary to handle the AJAX request of FileExplorer. Here "Syncfusion.EJ" assembly contains built-in "[BasicFileOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html)" abstract class and implementation of "[FileExplorerOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html)" class for providing the content to FileExplorer and handling AJAX requests. If is it necessary, you can customize the server side functionalities of FileExplorer as per your requirement.
3434

3535
### Override the existing Syncfusion.JavaScript.FileExplorerOperations class
3636

37-
Using "[FileExplorerOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html#)" class, you can manage the underlying machine's physical file system with the help of FileExplorer control. Here you can override the necessary methods that is available in "**FileExplorerOperations**" by sub classing the existing "**FileExplorerOperations**" class.
37+
Using "[FileExplorerOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html)" class, you can manage the underlying machine's physical file system with the help of FileExplorer control. Here you can override the necessary methods that is available in "**FileExplorerOperations**" by sub classing the existing "**FileExplorerOperations**" class.
3838

3939
Below code example shows how to override "**GetDetails**" method, which is available in **"FileExplorerOperations**"
4040

@@ -81,7 +81,7 @@ Below code example shows how to override "**GetDetails**" method, which is a
8181

8282
### Implement a new custom class to handle AJAX request and provide content for FileExplorer
8383

84-
When overriding the particular methods were not enough, you can create a new custom class using "[BasicFileOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html#)" abstract class. It helps to provide different file sources to be used the content for FileExplorer control, such as database system, physical system or online storage system such as Azure.
84+
When overriding the particular methods were not enough, you can create a new custom class using "[BasicFileOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html)" abstract class. It helps to provide different file sources to be used the content for FileExplorer control, such as database system, physical system or online storage system such as Azure.
8585

8686
#### Notes to Implementers
8787

@@ -161,7 +161,7 @@ Response data should be in JSON format with key name as "{{'**files** '| markdow
161161
"error":null
162162
}
163163
<br/>
164-
Note: If needed, customer can also add additional data along with existing properties of "{{'[FileExplorerDirectoryContent](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerDirectoryContent.html#)'| markdownify }}" class.
164+
Note: If needed, customer can also add additional data along with existing properties of "{{'[FileExplorerDirectoryContent](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerDirectoryContent.html)'| markdownify }}" class.
165165
<br/>
166166
</td>
167167
<td>
@@ -278,7 +278,7 @@ It contains the details about selected items, which is going to be renamed
278278
<br/>
279279
<br/>
280280
{{'**Name**'| markdownify }}: commonFiles<br/>
281-
{{'**Type :** '| markdownify }}IEnumerable<{{'[CommonFileDetails](http://help.syncfusion.com/CR/cref_files/aspnet/ejweb/Syncfusion.EJ~Syncfusion.JavaScript.CommonFileDetails.html#)'| markdownify }}><br/>
281+
{{'**Type :** '| markdownify }}IEnumerable<{{'[CommonFileDetails](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.CommonFileDetails.html)'| markdownify }}><br/>
282282
{{'**Description:**'| markdownify }}
283283
It contains the details about already existing files, which contains same name and type as given in new file with same parent folder.
284284
<br/>
@@ -330,7 +330,7 @@ It contains the details about selected items, which is going to be pasted
330330
<br/>
331331
<br/>
332332
{{'**Name**'| markdownify }}: commonFiles<br/>
333-
{{'**Type :** '| markdownify }}IEnumerable<{{'[CommonFileDetails](http://help.syncfusion.com/CR/cref_files/aspnet/ejweb/Syncfusion.EJ~Syncfusion.JavaScript.CommonFileDetails.html#)'| markdownify }}><br/>
333+
{{'**Type :** '| markdownify }}IEnumerable<{{'[CommonFileDetails](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.CommonFileDetails.html)'| markdownify }}><br/>
334334
{{'**Description:**'| markdownify }}
335335
It contains the details about already existing files in destination folder, which contains the files in same name and type as same as newly copied files.
336336
<br/>
@@ -619,7 +619,7 @@ Also we have option to configure the AJAX request in client side, please refer l
619619

620620
### Managing files that is available in SQL database
621621

622-
You can manage the files that are available in database using our FileExplorer control. Here you may use this custom "**SQLFileExplorerOperations**" class for handling file management related operations using SQL database. This class is used to simplify the process on server side. It contains some built-in methods that are used to handle file operations (like read, copy, move, delete, etc.) using SQL database. This class is created by inheriting the abstract class "[BasicFileOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html#)". If is it necessary, you may override the methods in "**SQLFileExplorerOperations**" class.
622+
You can manage the files that are available in database using our FileExplorer control. Here you may use this custom "**SQLFileExplorerOperations**" class for handling file management related operations using SQL database. This class is used to simplify the process on server side. It contains some built-in methods that are used to handle file operations (like read, copy, move, delete, etc.) using SQL database. This class is created by inheriting the abstract class "[BasicFileOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.BasicFileOperations.html)". If is it necessary, you may override the methods in "**SQLFileExplorerOperations**" class.
623623

624624
* To make connection with SQL database (FileManager.mdf) services, please specify connection string in "Web.config" file as specified in the following code example.
625625

@@ -771,7 +771,7 @@ In the view page, add "FileExplorer" helper and specify the physical path as
771771
772772
{% endhighlight %}
773773

774-
In the controller page, specify the "[GetImage](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations~GetImage.html#)" handling operation as shown below. This handling function is necessary to render the images in FileExplorer, while physical path has been mentioned.
774+
In the controller page, specify the "[GetImage](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations~GetImage.html)" handling operation as shown below. This handling function is necessary to render the images in FileExplorer, while physical path has been mentioned.
775775

776776
{% highlight c# %}
777777

@@ -811,7 +811,7 @@ In the controller page, specify the "[GetImage](http://help.syncfusion.com/cr/
811811

812812
## Adding Custom column in grid view of FileExplorer
813813

814-
You can add custom column in grid view of "FileExplorer". To achieve this requirement, in controller page you have to add the custom column with existing AJAX response by overriding the "Read" method, which is available in "[FileExplorerOperations](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html#)" class. Please refer following code example.
814+
You can add custom column in grid view of "FileExplorer". To achieve this requirement, in controller page you have to add the custom column with existing AJAX response by overriding the "Read" method, which is available in "[FileExplorerOperations](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations.html)" class. Please refer following code example.
815815

816816
{% highlight c# %}
817817

‎aspnetmvc/FileExplorer/Thumbnail-Compression.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In the view page, add "FileExplorer" helper and specify the thumbnail image
2727

2828
{% endhighlight %}
2929

30-
In the controller page, specify the "[GetImage](http://help.syncfusion.com/cr/cref_files/aspnetmvc/dociohelper/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations~GetImage.html#)" handling operation as shown below. This handling function is necessary to compress and load the images in "FileExplorer", while "EnableThumbnailCompress" option has been enabled.
30+
In the controller page, specify the "[GetImage](https://help.syncfusion.com/cr/cref_files/aspnetmvc/ejmvc/Syncfusion.EJ~Syncfusion.JavaScript.FileExplorerOperations~GetImage.html)" handling operation as shown below. This handling function is necessary to compress and load the images in "FileExplorer", while "EnableThumbnailCompress" option has been enabled.
3131

3232
{% highlight c# %}
3333
public ActionResult FileActionThumbnailCompress(FileExplorerParams args)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /