go to post Laura Cavanaugh · Jun 29, 2016 I'm working on an Interchange loop, which calls a subtransform on a Group, which calls a subtransform on an 835 document. The TEST button/data returns segments (i.e. no errors), but I can't quite tell if it's creating a new target with the properly transformed data. I'd be happy to share the transforms on this thread if anyone would like to see them. I'd love to know if I'm doing it correctly.Thank you,Laura
go to post Laura Cavanaugh · Jun 29, 2016 David, Yes, removing the ISA and GS segments (and corresponding GE and IEA lines) worked. The test returns results. That's all I needed to see. And again, I assume that the actual transform, in the production or whenever I actually run it, won't need this. Otherwise I'll need a transform before I run my transform. Ooh - perhaps that's what you meant by a having to call a subtransform. Well, I'll keep that in mind.Thank you,laura
go to post Laura Cavanaugh · Jun 29, 2016 Thanks David, I'll take a look. I'm on 2014. How will that affect the running production? I assume the test scenario is a bit different than the actual production, where I'll have many files, all from the ISA to the IEA, naturally. But the fact that the test wasn't working threw me a bit. Thanks,Laura
go to post Laura Cavanaugh · Jun 16, 2016 Oh! Yes, that is working. I had a recursive compile error that I had to fix first (two classes were dependent on each other.. caused a 2-hour delay), and then I had to fix a little logic error in my code. That radioSet looks quite useful. Thank you,Laura
go to post Laura Cavanaugh · Jun 16, 2016 Ah, that was the step that was missing -- I had to Serilaize my ListOfDataType object first. Thank you.Sorry -- I'm not clear on the difference between %Collection.ListOfDT and %Library.ListOfDataTypes, but seeing as ##class(%Library.ListOfDataTypes).LogicalToDisplay(roles.Serialize(),"|") works... I'm happy. is it because both objects support it?Thank you,Laura
go to post Laura Cavanaugh · Jun 13, 2016 Thank you Eduard. Looks like a serialized ListOfDataTypes is a $list, not a %ListOfDataTypes. This would not work (and is not): TEST>s user=##class(Security.Users).%OpenId("testuser"))TEST>w user.Roles2@%Collection.ListOfDTTEST>do ##class(%ListOfDataTypes).BuildValueArray(user.Roles,.array) <LIST>zBuildValueArray+2^%Library.ListOfDataTypes.1 It does not work because the user.Roles is a %ListOfDataTypes, and not a $list. Is there anything in the %ListOfDataTypes class that I can use to convert this object's Roles property to a nice looking string or array? Or must I first convert it to a $list? Why isn't there a function to do that for me? Thank you,Laura
go to post Laura Cavanaugh · Jun 10, 2016 $list and %ListOfDataTypes are different concepts: agreed. but why does (%Library.ListOfDataTypes).BuildValueArray use $listnext then (and not work)?? LogicalToDisplay() also does not work -- for me. When I use it on a LostOfDataTypes object. What am I doing wrong?Thanks,Laura
go to post Laura Cavanaugh · Jun 2, 2016 Hi Timothy,I thought you'd be interested to know that Kevin at InterSystems helped with this issue, and he found that some breakpoints inside javascript code were causing the error. Just having the breakpoints there caused it -- the code didn't get anywhere near the breakpoints -- so he removed all of the breakpoints, and that worked. We had to change the debug target ... the Zen application is mapped to another folder, rather than the default of /csp/namespace.Thanks for your help!IS was timely and helpful. Thanks Kevin!Laura
go to post Laura Cavanaugh · Jun 1, 2016 Excellent, I will do that. I'm sure I'll want to be able to run through the debugger at some point. I was able to fix my bug, actually (it was an easy fix), but I do love a good debugger. Thanks for all the help.Laura
go to post Laura Cavanaugh · Jun 1, 2016 Ah, ok. Thanks for all this info. I did look at ^%ISCLOG, but it was a ton of stuff. I 'll seeif I can find something relevant, or record only the moment when I'm trying to connect. The global STARTED at 3K-something and the rest was lost on my terminal. It looked like it was recording everthing from the entire server? Production, everythiing?Thanks,Laura
go to post Laura Cavanaugh · May 31, 2016 I'll try some things... Yes, the page displays when I remove the ?CSPDEBUG part.Ah, /namehere/package.home.cls does nto work as a debug target. I see that /namehere/ (or Samples) is the namespace. But, this particular combo does not work: URL not found.I'm not sure how the port would be wrong, since I can open the page as a URL, or with View/Web Page (F5)... as far as I know, the port is c orrect, since I'm using studio in DEV, etc. Is the port a part of the debug target? how does it know ? Yes, we are running it on IIS on the DEV server.I'll try the logging thing.Thanks,Laura
go to post Laura Cavanaugh · May 31, 2016 Hi Timothy,I've tried many debug targets. Using csp/NameHere/package.home.cls I get this error when I run it: Caché Server Pages Version 2014.1.3.775.0Error ConditionError ConditionCSP application closed the connection before sending a complete response and error #6710 "Could not attach to target" in studio. For some reason, in the pages, we change the "homepage" to /NameHere/package.home.cls. I wonder if that affects how I can/can't open it in debug mode using /csp/package.home.cls. Thanks,Laura Oh -- the page displays if I take off the ?CSPDEBUG=1431597865 at the end of its URL...
go to post Laura Cavanaugh · May 5, 2016 I'll start in the XML block - thank you. I have to start somewhere.
go to post Laura Cavanaugh · May 5, 2016 Hi Attila, OK, how about the Services, Processes, and Operations items. Are they in tables? Thanks.
go to post Laura Cavanaugh · May 5, 2016 Ah, I was wondering about that XML view in the Production class. I did see the Documentation -- thanks -- but the end users would like something ... less spread out. Also, I'm trying to get my head around it as well, so that makes it hard to define this task. Thanks.
go to post Laura Cavanaugh · May 5, 2016 Hi Kenneth, Yes, we have a large looking Production that I'm trying to untangle. I'm tasked with a simple view of the input folders, output folders, and number of records processed, on which servers.; more simple than the production monitor view. Thanks.