Select to view content in your preferred language

Print widget fails

552
5
11-25-2024 07:23 AM
Labels (1)
CameronLacelle
Frequent Contributor

Everytime I try to configure a Print widget in ExB it fails to export and gives me a red X "Error". I get a message in the Dev Tools that says "[esri.layers.FeatureLayer] 🛑 DEPRECATED - Function: `Accessor.get` is deprecated in favor of using optional chaining()
:gear: Version: 4.28"

 

Anybody know what this means or how to resolve it?

0 Kudos
5 Replies
ShengdiZhang
Esri Regular Contributor

Hi @CameronLacelle ,

Unfortunately, I cannot reproduce your bug.

Can you try to see if it successfully prints an empty map? I'm assuming it has something to do with a specific layer.

It would be very helpful if you can provide a sample app to reproduce.

Thanks,

Shengdi

0 Kudos
CameronLacelle
Frequent Contributor

@ShengdiZhang I agree it could be layer-specific as we are using a combination of Enterprise Geodatabase Layers, SQL Query Layers (MS SQL Server), and shapefiles whose folders have been registered to the data store so we can have referenced data. We are in the process of building a basemap to use in the app that will have the same coordinate system as most of the layers used in the app, so I am hoping that could resolve the issue as well. Unfortunately because the datasets contain sensitive information I am unable to share.

0 Kudos
ShengdiZhang
Esri Regular Contributor

@CameronLacelle If your app contains sensitive data and cannot be shared, could you contact our Support team to help reproduce your bug? Thanks.

0 Kudos
ShaneONeill_144
Esri Contributor

Is this within ArcGIS Online or ArcGIS Enterprise? If Enterprise, what version do you have deployed?

0 Kudos
CameronLacelle
Frequent Contributor

@ShaneONeill_144 we are using Enterprise 11.3. At one point when we had 11.2 I managed to get it to work but it was inconsistent

0 Kudos