How do I change a dashboard that writes a file to a local share to the Epicor Gov Cloud share for Bartender?

Hello,

We currently are Gov Cloud with Epicor and use Bartender.
I have a dashboard with a customization that creates a bartender file to print labels.
It was built when we were on-prem and writes to the server where Bartender is installed.
I was wondering how do I change my customization code to create the label on the Epicor Cloud share that currently hosts the Bartender files other screens use to print.
Those other screens use a BPM to print the file.

I am not sure if this makes sense or if there is any other information needed.

Anyone have an idea?

Any help is truly appreciated!

I am not sure, but I imagine they will create you an FTP folder on the server for it.

Do you have access to the Azure File Share they created for you already?

Should look like this \123456data.file.core.usgovcloudapi.net\epicordata

I do have a powershell script they gave me to map that to a drive letter to check it out.

It is similar to this: 12345.file.core.usgovcloudapi.net\12345

Within it is the folder ‘Bartender’.

When I try and access this share from my PC which I ran the powershell script on, it opens fine.

When I try from a PC that I didn’t run it on, it fails.

I tried changing the path in my code to match this.

When I tested the dashboard, it failed saying invalid username or password.

I was hoping if it came from within Epicor, it would not ask for that.

How would I get this to work without adding the username and password in cleartext in the code?

Can you maybe try something like this in your code?10.2.600 & AR Invoice Form - #30 by Mark_Wonsil

This will define the path that Epicor should have access to, to be able to write your file to from the dashboard code you have.

From there you should be able to pick it up from your Bartender folder via the Azure File Share.

Edit: All the Azure File Share is, is a pointer to the Epicor servers data directory in the cloud, that allows us to access it outside of Azure, with a username and password.

That was before Azure Files. This post may be more appropriate:

2 Likes

I opened a ticket before I tried here and they were not the most helpful.

Their response was:

Accessing the Azure File Share from a classic customization or from the classic dashboard UI is not possible within Kinetic Cloud. One would need to create a server-side customization (e.g. Epicor Function, BPM, etc) to generate the file as the Cloud server will have access to the Azure File Share.

My question back to them was:

How do I access that folder from within a BPM? What piece of code will get me there?

I was wondering if anyone here might know it?

Does anyone know what path it would be?