Attachment Slide Out - How to Add File Stamp: Date Created or Date Uploaded or Date Changed

Does anyone know how to add columns to the attachment slider (on any page) to allow a column to show any of the following:

File Date Added, File Date Created, File Date Changed, etc.?

We don’t see any way to access this particular slider…

Thanks - Please see the attached image.

Joseph, I don’t believe those fields are part of the database tables for xFileRef or XFileAttach so that might be your first major hurdle.

The next one, adding the columns to a grid, can be done in app studio for that specific control. It may be as easy as going into personalization and making them un-hidden, but the fact that those types of fields don’t exist is still the first problem.

2 Likes

Why the :thinking: face @klincecum ?

1 Like

Wondering if that information is available, and how to get to that slide out.

Yeah, not sure where that info would be available, but if it were it would be a pretty normal customization after that.

Wondering if we could grab a time/date stamp at the point of upload and save it in a UD field that could be used there and then pull it on the slide out table?

We didn’t see in the studio where to find the attachment slider… maybe we just missed it.

Unless there’s an API in the Edge Client, I’m not sure you’d ever be able to get that metadata from the file system. Yes, you could capture the upload date/time but that’s different that the original question.

If the files were stored in ECM or SharePoint, you probably could that get information through an API. You might be able to write a web service that returns that information to you from the file system, but you’d basically be writing the file portion of the Edge Client.

2 Likes

That’s what I thought Mark, but I’m not a developer. We could probably at least force the current date/time at the upload into a UD field. We have the date as part of the file name now, but we need to edge it to something a little more useful. We aren’t using ECM or SharePoint.

2 Likes

You could add an idea as well to get it developed by Epicor.

1 Like

Seems like a “should be there” function for out-of-the-box functionality. I will add it, after I make sure it’s not there already.

For security reasons, the browser will never have that kind of access to a local file system. The Epicor Idea would be for the Edge Client which makes the file system look like a web service to the browser (along with its original purpose of granting access to local printers).

2 Likes

Could you add a function to the event that adds the attachment, and retrieve the created / changed with System.IO?

1 Like