I would suggest to use client side javascript API to check the file size, instead of uploading it to server and check it.

I got a nice article on a blog.

<script language='JavaScript'> 
function checkFileSize(inputFile) {
        var max = 3 * 512 * 512; 
        if (inputFile.files && inputFile.files[0].size > max) { 
                alert("File is too large to upload."); 
                inputFile.value = null; 
        } 
} </script>

You are right, using Wizard Installer you need to activate the production. Did you still had issues after that?

Tirthankar Bachhar · Oct 27, 2016 go to post

Hey, thanks for your response.

The solution you gave is to track any changes in data.

But, what I was looking for was, how do we track any changes in class definition [Code Changes made].

Tirthankar Bachhar · Oct 27, 2016 go to post

Earlier in Ensemble there was a settings in routing rule to execute all or execute till it succeed.

Interesting part is, now we don't have that.

But, many of us often do this mistake. Look at your individual rules, if you have "return" in it. If so, then it is doing what is expected. If you want all your rules to be executed, you need to remove those 'return'.

RoutingRule

Tirthankar Bachhar · Oct 20, 2016 go to post

Thanks for your response. I looked into the github utcov. But still, the entire approach is w.r.t the INT code rather than the actual lines of code in classes. Also, when you have thousands of classes running in production for many clients, its difficult to even change the comment with #;. That's a huge effort though. But, adding the unit test cases even for a old code is like covering the tech debt, and that's a ongoing practice.

Having said that, I was really looking for something easy solution like any other language has. May be once we star using Atelier, there could be some addin or frameworks to use with Cache Object Scripts.

Tirthankar Bachhar · Oct 20, 2016 go to post

Typically this is  a very common issue I have observed many times.
If I have understood this correctly, you have comma(,) in values. You want to export that values into a comma(,) separated CSV file. So, the comma(,) in values are also being considered as delimiter.

Easy solution would be enclosed it with double quote. by default if you open the csv file into EXCEL, commas in values will not be considered as delimiter if its enclosed in double quote.
So, with reference to your code:
S file="C:\Export.CSV"
O file:("RSN"):2
U file w """"_name_""","""_details_"""",!
C file

Two double quote will represent one double quote finally in the output ("")->(").
Please let me know if you tried this, and this resolved your problem.

Thanks,

Tirthankar

Tirthankar Bachhar · Oct 19, 2016 go to post

Copy Cache.Dat from ensemble 2009 version to a separate location, and try mounting them directly into 2016.1. While copying Cache.Dat, keep the ensemble instance down.

let me know if this works.

Tirthankar Bachhar · Oct 19, 2016 go to post

Agree with Dmitry. Will you put some more details, how are you trying to connect to UItview. Do you need to write code to do that, or there are APIs given to do so. If they have Rest APIs or some SOAP exposed, I can help you to connect to that.

Tirthankar Bachhar · Oct 19, 2016 go to post

Are you using correlate? or how are you parsing it to the object? would you put some more details of your approach, as there are many ways to do so.

Tirthankar Bachhar · Oct 19, 2016 go to post

Run below query from DBVis. You may use GETUTCDATE rather than GETDATE.

Select DATEADD(mi, -1, GETDATE()) As CurrentDateLess1Min, GETDATE() As CurrentDate, DATEADD(mi, -1, GETUTCDATE()) As CurrentUTCDateLess1Min, GETUTCDATE() As CurrentUTCDate

Tirthankar Bachhar · Oct 19, 2016 go to post

Another text from DocBook, that will help you.
GETDATE returns the current local date and time as a TIMESTAMP. All Caché SQL timestamp, date, and time functions except GETUTCDATE are specific to the local time zone setting. GETUTCDATE returns the current UTC (universal) date and time as a TIMESTAMP. You can also use the Caché ObjectScript $ZTIMESTAMP special variable to get a current timestamp that is universal (independent of time zone).

Tirthankar Bachhar · Oct 19, 2016 go to post

Try running the same from system management portal, if you have access. I'll try to find the similar option for DBVis.