Rob ... this is incredibly rich - thank you for taking the time to write all of this up!!
- Log in to post comments
Rob ... this is incredibly rich - thank you for taking the time to write all of this up!!
Wow - that is so cool!! Thank you for sharing @Joel Solon :)
It should be safe to edit manually as long as you are not changing the piece numbers or changing the order around. Simply changing the property name within
If others are aware of gotcha's when changing the storage definition Value, I would be interested in hearing them.
BRAVIO G.M. TEAM!!!
Great analogy @Vivian Lee!! Thank you for writing this up :)
as Vivian explained, you can delete the property definition and then change the name in the storage definition to make it clear that that slot should be ignored. This of course should be done while keeping versions of everything in source control so that the reason for the change is documented and discoverable in the future should someone need to understand why the property was removed.
Thanks for quick fix @Evgeny Shvarov!! Also, thanks for the details that some types are not supported, that is good to know. At this point I think I am good with letting it take it's best guess and then editing the class afterwards if needed. With SQL LOAD coming hopefully there will be less need to one-off utilities that do this but I am thankful that it was available for what I needed this week!!
Wow - this looks like it is going to be an incredibly helpful feature!! Thank you for pointing out the new docs on it :)
Partially answered my own question ... if I edit the auto-generated class' When property and set it to %Library.DateTime, I can then call the generated Import() classmethod of the auto-generated class and import will succeed. So I am able to push forward ... is this the intended path to do this?
Should I create an issue for the DateTime column to be property set as a DateTime object and not a Date object?
There appears to be an issue on Windows as it doesn't strip out the ":" from the filename when auto-generating the class( https://github.com/evshvarov/csvgen/issues/13).
But beyond that I am stuck because is autodetecting my data/time column as Date and it is failing validation:
This is that the file looks like:
So it is blowing up when it tries to read "12/06/2021 03:46AM" into the When field, which it auto-generated as:
I could obviously hand-correct the auto-generated class but that wouldn't help if it just re-generates it the wrong way again when I try to do the import.
Any suggestions on a way around this? Is there a way to force it to %Library.DateTime?
Thanks!
Ben
Brilliant!! Thank you @Sergey Mikhailenko and @Sergei Shutov :)
nice summary :)
Congrats to the Winners!!!
Congratulations @Timothy Leavitt - your article on Git for Shared Development Environments was the most viewed article on technical content!!
Well done to the winners! Thank you for participating in the contest and contributing to our community as a result!!
Absolutely! You will need to write a method that contains the SQL and then execute the method from a Task. As the linked docs suggest, write your own task by creating a class that extends %SYS.Task.Definition: https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…;
Wow - @Robert Cemper, thank you for this contribution back to the Community!!
In case this is helpful for any other AOC noobs, the '130669-ab1f69bf' code doesn't go in the sponsor code field that you will be shown when you first create an account. You need to click on the 'Private leaderboard' link in red to the right of that field, and that will bring you to a new page where you can enter the above code.
You should use $ZSTRIP with the "W" for whitespace: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
Don't worry about it - I have been writing ObjectScript code for 18 years and I had no idea about this method - I have always done it the way you did in your example :) Thanks for asking the question so I could learn something new as well!
This looks like an excellent resource and I hadn't heard of it before. Thank you so much for sharing!
@Guillaume Rongier - an interesting (and indeed radical) take on this ;) I agree that broader use of Python will allow gaps and new best practices to be identified more quickly, to the benefit of all. Your suggestion of not needing to use [language = python] is thought-provoking ... have you logged an enhancement to allow a descriptor at the class level which will allow python to be assumed across the entire class without requiring the python language to be specified in each method?
I am generally quite conservative in nature, but your 'liberal' ideas are indeed thought provoking ;)
NOTE - the Git for Shared Development Environments code can be accessed from this post:
https://community.intersystems.com/post/git-shared-development-environments
I would just like to point out that any attenders of Virtual Summit who missed Tim's presentation can still access the replay here: https://web.cvent.com/hub/events/90791fad-b517-47e6-a1ca-f6d419711986/sessions/a5d162c7-4c0d-4d07-a211-84d68c3c020c
People who didn't attend Virtual Summit should stay tuned as the content will be published by InterSystems Learning Services and made available for everyone to watch.
""My aim is to get DC members who a really fond of some particular aspect of ObjectScript, or Adapters, or Devices, or IRIS HL7 and IRIS FHIR to create cheat sheets which I will collect into one volume and have them styled in ISC colours and logo's and add them to the ISC Learning, Documentation, Global Masters repertoire"
I really love this idea!! I know that @Michael Breen is also playing with ideas of how to crowd-source the simplification of ObjectScript reference resources to make it easier for new people to ramp up with the technology.
agreed!!!
Congratulations @Matthew Giesmann!! Nice work on this challenging project.
One small note - please change the font on your first paragraph - looks like it might be using Header or something like that.
I look forward to seeing this extended
Thank you for sharing ... this looks like a great resource to keep on hand for Python newbies!
Well done @Mario Sanchez Macias !! A great utility to keep everyone from having to re-invent the wheel themselves :) Thank you for contributing
@Robert Cemper - thank you for making me aware of this resource!