Thanks so much for your help. This is what exactly I was trying to find. Thanks again Alexey.
- Log in to post comments
Thanks so much for your help. This is what exactly I was trying to find. Thanks again Alexey.
I believe you have figured out the solution for this.
I have just mentioned below list of methods for different fields.
NAME - Name()
SSN - SSN()
COMPANY - Company()
TITLE - Title()
PHONE - USPhone()
CITY - City()
STREET - Street()
ZIP - USZip()
MISSION - Mission()
STATE - USState()
COLOR - Color()
PRODUCT - Product()
DocBook Link:
docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GOBJ_populate
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?
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].
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'.
I would suggest to look at both the below classes,
Ens_Util.IOLog, and Ens_Util.Log
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.
One article I would like to refer for you. Please go through it. It was been presented by Kyle Baxter.
https://community.intersystems.com/post/global-summit-2016-painless-sql-upgrades
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
Do you still have confusion? Does this solve your issue? If yes please let me know.
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.
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.
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.
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
Another text from DocBook, that will help you.
Try running the same from system management portal, if you have access. I'll try to find the similar option for DBVis.
Can you change from display mode to logical mode. You should get the correct one.
Could you please elaborate the problem you are trying to solve?
Very nice article. thank you!
A must read. Thanks so much for sharing.