custom-code

how can i reset dropzone by this code?

一笑奈何 提交于 2020-01-02 02:47:07
问题 Dropzone.options.imageFile = { url: HOST_NAME + USER_NAME + BUILDER_API +'image/', method: 'POST', // enter code here acceptedFiles: '.jpg, .jpeg, .png', paramName: "imagefile", // The name that will be used to transfer the file maxFilesize: 10, // MB //addRemoveLinks: true, maxFiles: 2, init: function() { this.on("success", function(file, response) { image_id = response.id; IMAGES.push(image_id); check_files(); }), this.on("removedfile", function(file, response){ data = JSON.parse(file.xhr

There is an error on line 58 of custom code: [BC30201] Expression expected

痴心易碎 提交于 2019-12-01 17:57:28
问题 When we deploy a report SSRS generates the following error: There is an error on line 58 of custom code: [BC30201] Expression expected However, the report works fine on preview mode and displays the field correctly. The custom code segment here is also written and tested in visual studio. Here's the custom code: If (evaluationDate.Day = 31) Then '* affected line returnValue.Append(String.Format("{0}{1:dd.MM}{2}", _ If(index = 2, " und ", String.Empty), _ New DateTime(evaluationDate.Year,

There is an error on line 58 of custom code: [BC30201] Expression expected

此生再无相见时 提交于 2019-12-01 17:44:29
When we deploy a report SSRS generates the following error: There is an error on line 58 of custom code: [BC30201] Expression expected However, the report works fine on preview mode and displays the field correctly. The custom code segment here is also written and tested in visual studio. Here's the custom code: If (evaluationDate.Day = 31) Then '* affected line returnValue.Append(String.Format("{0}{1:dd.MM}{2}", _ If(index = 2, " und ", String.Empty), _ New DateTime(evaluationDate.Year, evaluationDate.Month, lastDayOfMonthDictionary(evaluationDate.Month)), _ If(index = 2, ".", String.Empty)))