How to generate files in parent screen under FILES button while clicking on child screen generate button
Tanku
Best answer by Dmitrii Naumov
View originalHow to generate files in parent screen under FILES button while clicking on child screen generate button
Tanku
Best answer by Dmitrii Naumov
View originalCheck this stackoverflow answer:
https://stackoverflow.com/a/49325327/6038399
You’ll need something like that:
PX.SM.FileInfo file = new PX.SM.FileInfo(fileName, null, data);
UploadFileMaintenance graph = new UploadFileMaintenance();
graph.SaveFile(file);
PXNoteAttribute.AttachFile(Base.Document.Cache, Base.Document.Current, file);
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.