Nicole Aaron · May 20, 2021 go to post

Try taking a look at the System Management Portal under System Administration > Security > Applications > Web Applications. Confirm that /api/atelier is enabled. You may also want to look at your web server and CSP/Web Gateway settings. A CSP/Web Gateway log and ISCLOG should provide more information here as well.

Nicole Aaron · May 19, 2021 go to post

You may want to open up a WRC case or a GitHub issue to investigate further. To see if this is an error with data returned from the server, you'd want to collect:

  • CSP/Web Gateway log at level EV7 (docs here)
  • ISCLOG (set ^%ISCLOG=3, reproduce, set ^%ISCLOG=0, in Caché data will be in ^%ISCLOG and in IRIS will be in ^ISCLOG in %SYS).
Nicole Aaron · Apr 20, 2021 go to post

Ah thanks for clarifying. I use VS Code ObjectScript myself so am not sure about Studio customization. Maybe a more frequent Studio user will have a suggestion for you, but I'm not sure that this is possible.

Nicole Aaron · Apr 20, 2021 go to post

The VS Code docs on IntelliSense and Code Snippets should help provide more information:

You may want to take a look at the IntelliSense features you have enabled in VS Code now. You can do that by searching your User and Workspace preferences for 'IntelliSense'. You can also hit Ctrl+Space while coding to get autocomplete suggestions.

Do you have a more specific example of the autocomplete feature you are looking for? When I am working in a routine that has been compiled with a HelloWorld entry point, I can see the following as I'm writing ObjectScript code:

 

After I set a variable I can see autocomplete options including that variable:

 

Nicole Aaron · Nov 2, 2020 go to post

Hi Scott, You will only see the ObjectScript icon in the Activity Bar after you've opened a folder in VS Code (File > Open). See a previous post about this here.

Nicole Aaron · Sep 14, 2020 go to post

Yes, this is a popup window in the Atelier plugin for Eclipse. I can see that the title of your post notes both Atelier and VS Code, and the post includes tags for both. If you are working exclusively with VS Code ObjectScript feel free to disregard my reply here.

Nicole Aaron · Sep 14, 2020 go to post

When I do the Atelier XML import and run into files that are different from the server version, the resulting prompt has a checkbox for "Apply to Remaining":

 

If I check that then I can click "Finish" and my selection for Save Local Copy/Skip/Save Server Copy is applied to all files where there is a conflict.

Nicole Aaron · Mar 4, 2020 go to post

Atelier still only works with Eclipse Photon. Eclipse changed some underlying mechanisms with newer versions of their product, and InterSystems has not had the dev cycles to find the root cause + make the necessary corrections to the Atelier plugin.

Atelier is technically only supported with Java 8. I have heard about other versions of Java working just fine, but these have not been tested by InterSystems' QD team. If you have other Java-based apps that you would like to be using a later version of Java with, you can have multiple Java installs and configure Eclipse to look at Java 8. You should be able to Google to find out more to about how to configure that for your OS.

Nicole Aaron · Feb 26, 2020 go to post

The answer to this question really depends on the context and where in the process you are at. If you would like to have a more in-depth discussion with someone about that, I would suggest that you reach out to your InterSystems account team or Support.

Typically when you are sending SOAP requests from an InterSystems product, you would get a WSDL from the SOAP service endpoint and use our SOAP Wizard to generate client classes. Then those client classes can be used at the object level to send requests. You can find documentation on the SOAP wizard here. To use the generated SOAP client classes, see our documentation here. Then this section in the documentation discusses how to add security elements to your SOAP request.

If you would just like a more object-friendly way to build up XML you can consider using the %XML.Writer API's, documented here and here.

Nicole Aaron · Feb 19, 2020 go to post

I would suggest enabling the Caché SOAP log to capture inbound, outbound, and security information - "ios" - then reproducing the error. (Be sure to disable the SOAP log by killing the ^ISCSOAP global when you are done.) This will print the error message in a more readable format, show the outbound message sent by your Caché SOAP client, etc.

If you are having trouble understanding the data in the SOAP log I would suggest opening a new case with the InterSystems Support staff, either by calling into +1 617-621-0700 or emailing support@intersystems.com.

Nicole Aaron · Dec 20, 2019 go to post

This is a setting of any EnsLib.File.PassthroughService, found in the Additional Settings section:

The different options in the drop-down are described in the documentation that Marc linked to (here).

Nicole Aaron · Oct 1, 2019 go to post

The two most common problems when we see behavior like this are:

  1. An unsupported version of Eclipse is installed - Eclipse Photon is the only supported version for Atelier. You can check your Eclipse version by going to the "About Eclipse" menu.
  2. An unsupported version of Java is installed - Java 8 is the only supported version for Atelier. You can check your Java version by entering "java -version" in an OS command prompt.

If you are still having trouble feel free to comment here in the Developer Community, or open a new WRC case (by emailing support@intersystems.com) to investigate with InterSystems Support.

Nicole Aaron · Aug 27, 2019 go to post

Dave is working with InterSystems Support on this one. An update on the investigation:

This error is thrown when trying to import a file that is not UTF-8 encoded. Starting with Atelier 1.3.144 (the current beta version), the error message in this case is clearer:

com.intersystems.atelier.utils.CheckedExceptionWrapper: Failed to decode as UTF-8

Atelier requires that all files not stored as globals on the server be in UTF-8 format. Examples include HTML, CSS, TXT, and JS. So the solutions are either to convert files to UTF-8 encoding so that they can be synchronized using Atelier, or to modify the files directly on the file system.

Nicole Aaron · May 21, 2019 go to post

It looks like Visual Studio Team Services (VSTS) is now Azure DevOps. There is an associated plugin for Eclipse called Visual Studio Team Explorer Everywhere (TEE). However Microsoft only supports that plugin for Eclipse 4.2 (Juno) - 4.6 (Neon). There is a note about this in the Microsoft Azure documentation here. Unfortunately this does not match up with the Atelier requirement of Eclipse 4.8 (Photon).

You may just be able to use a generic Git plugin, like EGit, since it seems like TEE is Git-based.


As far as your numbered questions go:

1. In general the best practice for storing code from an InterSystems product in source control is to use the UDL format rather than XML. UDL is the more human-readable format which is used for the local copies of files in Atelier projects. You can use the $SYSTEM.OBJ.ExportUDL() class method to export classes and routines in the UDL format from your Cache server.

2 & 3. I'm going to let other developers in the Community speak on their experience here. InterSystems does not provide tooling or our own published best practices for this, but rather suggests following industry standards + what works best for your organization specifically.

Nicole Aaron · May 17, 2019 go to post

This has not been implemented Atelier. It is on the roadmap for the dev team. Since active Atelier development is on hold there is no timeline for implementation of this feature.

Nicole Aaron · May 14, 2019 go to post

My understanding is that the BPL and DTL graphical editors in Atelier always use Eclipse's internal browser. It may be that your IE 11 browser is running in compatibility mode when embedded in Eclipse. Within the internal browser in Eclipse you can right click and select "View source". You may see something like this at the top:

<meta http-equiv="X-UA-Compatible" content="IE=9" />

You can find more information about Eclipse's internal browser and use of the X-UA-Compatible meta tag here. Can you send the contents of this <meta> line on your system?


It also may help to check the User-Agent header sent by the internal browser to the server. To find that:

  1. In a Caché Terminal enter the commands:
    kill ^%ISCLOG
    set ^%ISCLOG = 3
  2. Open a BPL or DTL in Atelier and switch to the graphical view
  3. Enter this command in Terminal:
    set ^%ISCLOG = 0

When you look at the ^%ISCLOG global there will be a $LISTBUILD like:

^%ISCLOG("Data",640,0) = $lb(900,,0,5628773246,"A"_$c(151,27)_"S"_$c(136)_"hÇ"_$c(155)_"ÙW¢·¡«"_$c(133)_"¤"_$c(148,159)_"©þÔ"_$c(20)_")5"_$c(144)_"ë"_$c(147,141)_"k"_$c(134)_"¢ë",2,"ENSDEMO","000000010000UnXM5atTr5Ar5MJaHkIPotZHaHeXwjNBDx3Mg3",,0,"","UnXM5atTr5",2,1,"/csp/ensdemo/",$lb("UnknownUser","%All","%All",64,-559038737),"","","","2019-05-14 19:52:24","2019-05-14 19:52:26","","Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko","","",0,"","","","%iscmgtportal:6NkD8rSSEIGztlvX2WoQ0Q--",0,"",$lb("%iscmgtportal:6NkD8rSSEIGztlvX2WoQ0Q--"),"","","")

Send the User-Agent value (bolded in my example) as well.


The other option that might help is to change your system default browser. Can you test by making a different browser the default on your machine?


If none of these options do the trick it will probably be worth opening a new WRC case (by calling +1 617-621-0700 or emailing support@intersystems.com). That way an advisor can take a look at additional system-specific information.

Nicole Aaron · Apr 29, 2019 go to post

Hi Martin, thanks for the additional explanation. I was able to reproduce this on my system with custom variables defined in a %ZLANGV routine. I will report this internally to the development team.

In the meantime, the workaround I came up with was to set a local variable equal to the $z custom variable then work with that local variable instead. For example this did not throw any syntax errors on my Atelier client:

    set var = $zsomething

    write var.Property

    do var.Method()

I'm not sure whether you are seeing this when writing new code, where this should be easy enough to implement, or if you are working with an existing code base, in which case this would likely be a bigger undertaking.

I do not see this behavior when working with custom functions that return objects. So again if this is new development you could consider defining custom functions using a %ZLANGF routine instead of variables in %ZLANGV.

Nicole Aaron · Apr 26, 2019 go to post

I haven't tested this myself but from looking at past bug reports I believe that starting with Atelier 1.2, custom variables defined in a ^%ZLANG routine should parse correctly in Atelier as long as they start with a z.  The Atelier parser is expected to accept functions and special variables that start with $Z, and commands that start with Z.

Do your custom variables start with z? Can you also send your versions of Atelier and Eclipse?

Nicole Aaron · Apr 22, 2019 go to post

There are two types of errors in the sample that you sent, one of which has been corrected and one of which is being actively investigated. The workaround while this is under investigation is to use the graphical DTL editor in the System Management Portal.

ERROR #5001: attribute 'sourceclass' is not declared for element 'transform'

ERROR #5001: attribute 'sourcedoctype' is not declared for element 'transform'

ERROR #5001: attribute 'targetclass' is not declared for element 'transform'

ERROR #5001: attribute 'targetdoctype' is not declared for element 'transform'

These errors have been reported to the Atelier development team here at InterSystems and are being investigated. We do not have a timeline for the fix, but you can always reach out to the WRC to check in on the status of the internal report.

ERROR #5001: element 'assign' is not allowed for content model '(annotation?)'

This error has been corrected, starting with Ensemble 2017.2.1. If you are seeing this when compiling against later versions of the product please send us your version string (by clicking the About link in the top-left of the System Management Portal).

Nicole Aaron · Apr 19, 2019 go to post

Hi Connor, I've been working with Michelle Stolwyk on this one and I do not think this is a large-scale issue with the stable Atelier repository. I just installed Java 8, Eclipse Photon, and Atelier 1.3.139 (from the stable repo https://atelier.jfrog.io/atelier/updates/stable/1.3/) on a fresh machine without any problems.

I think the issue on your system does boil down to a security/proxy problem. Here is an article I've used to help with this type of issue in the past: https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ.

If you are still having trouble I would suggest reaching out to InterSystems Support (by calling +1 617-621-0700 or emailing support@intersystems.com) for help with your specific configuration. InterSystems will not be the authority on how to configure a proxy, Java certs, etc. But we can point you in the right direction and send some resources that our customers have used in the past.

Nicole Aaron · Feb 25, 2019 go to post

Elize - I'm sorry to hear that your Atelier experience has been frustrating. I've been able to use the Atelier debugger to step through code and see variable values without any problems, and it sounds like Eduard has as well.

InterSystems provides some resources that may be helpful to you:

  1. A video on using the Atelier debugger can be found here
  2. The Atelier documentation on using the debugger is here
  3. You can always reach out to InterSystems Support to work directly with an advisor (call +1 617-621-0700 or email support@intersystems.com)
Nicole Aaron · Jan 30, 2019 go to post

I would suggest first checking the browser you have selected in your Eclipse settings. From the preferences page, select General > Web Browser and confirm that the expected browser is selected.

Next take a look at the settings in your IE 11 browser to check the Emulation settings. (In the F12 Developer Tools make sure that the Document Mode selected there is not 7.)

If you are still having trouble I think we'll need to look into your system-specific settings, such as the operating system, exact build of IE, etc.. That would probably be best handled by InterSystems Support.

As an aside - Atelier is supported on the Eclipse Photon release, not on the 2018-12 release. I do not necessarily think this will solve the problem you are seeing now, but we have seen this cause other problems when using the Atelier plugin. So I would suggest getting a fresh install of the Eclipse Photon client here then install Atelier on this new client.

Nicole Aaron · Jan 25, 2019 go to post

Hi Anthony - Thanks for the update, and the explanation of how you cleaned up your Eclipse perspectives. There were major, internal changes that occurred after Atelier 1.1, which can leave some of the Atelier 1.1 plugin features in this state after an upgrade. You can also clean the stale workbench data in Eclipse using the method described in the DC post here.

Nicole Aaron · Jan 7, 2019 go to post

José filed a WRC case to look into this. José found that reinstalling everything, including Eclipse, resolved this problem. He and the Support advisor were not able to determine the root cause of this behavior before the reinstall, when the errors disappeared.

Nicole Aaron · Jan 2, 2019 go to post

Anthony and José - The Atelier team has not been able to reproduce this, and many users have successfully upgraded to version 1.3.139. So it looks like this must be something specific to your environments. For help diving into what is going wrong on your systems, I would suggest contacting InterSystems Support (by emailing support@intersystems.com or calling +1 617-621-0700).

Nicole Aaron · Jan 2, 2019 go to post

Can you provide more details about how you tried to enable SSL/TLS? Did you do this on the Caché server, or on the web server?

As Kyle mentioned, the first step is to use an IP and port for a web server that has HTTPS configured. If you do not know how to do this, I would suggest reaching out to your system administrators. You can also feel free to get in touch with Support or your InterSystems Sales team to discuss this in more depth.

Nicole Aaron · Nov 26, 2018 go to post

David opened a WRC case and we are looking into the cause of this issue. I'll post the resolution here in the DC once we are done with our investigation.

======

Update 11/26/18: We were not able to get to the bottom of this, as David reached a point where he was unable to spend the time to investigate further.

Nicole Aaron · Nov 15, 2018 go to post

This error indicates that you have a proxy/firewall blocking the Atelier installation. If you Google something like "Eclipse PKIX path building failed" you'll see a number of hits about adding the necessary certificate chain to the Java keystore. I would suggest reaching out to your network team about this. If they are not able to help, you can always reach out to InterSystems Support.