From: "Jose Gomez jose@... [vantage]" <vantage@yahoogroups.com>
To: Vantage <vantage@yahoogroups.com>
Sent: Monday, March 16, 2015 12:12 PM
Subject: Re: [Vantage] Detect Opening Attachment
#ygrps-yiv-261156221yiv1427779260 .ygrps-yiv-261156221yiv1427779260ygrp-photo-title{
clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260ygrp-photo{
background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260photo-title
a,
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260photo-title a:active,
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260photo-title a:hover,
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260photo-title a:visited {
text-decoration:none;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260attach-table div.ygrps-yiv-261156221yiv1427779260attach-row {
clear:both;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260attach-table div.ygrps-yiv-261156221yiv1427779260attach-row div {
float:left;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 p {
clear:both;padding:15px 0 3px 0;overflow:hidden;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260ygrp-file {
width:30px;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260attach-table div.ygrps-yiv-261156221yiv1427779260attach-row div div a {
text-decoration:none;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260attach-table div.ygrps-yiv-261156221yiv1427779260attach-row div div span {
font-weight:normal;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 div.ygrps-yiv-261156221yiv1427779260ygrp-file-title {
font-weight:bold;}
#ygrps-yiv-261156221
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260 –
#ygrps-yiv-261156221yiv1427779260ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260ygrp-mkp hr {
border:1px solid #d8d8d8;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260ygrp-mkp #ygrps-yiv-261156221yiv1427779260hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260ygrp-mkp #ygrps-yiv-261156221yiv1427779260ads {
margin-bottom:10px;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260ygrp-mkp .ygrps-yiv-261156221yiv1427779260ad {
padding:0 0;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260ygrp-mkp .ygrps-yiv-261156221yiv1427779260ad p {
margin:0;}
#ygrps-yiv-261156221 #ygrps-yiv-261156221yiv1427779260 #ygrps-yiv-261156221yiv1427779260ygrp-mkp .ygrps-yiv-261156221yiv1427779260ad a {
color:#0000ff;text-decoration:none;}
#ygrps-yiv-261156221
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
<div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149404"> <div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149403"></div><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149408" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div dir="ltr">I looked in that DLL and see the DownloadFile method,I'm guessing this is the one I should try to modify.</div><div dir="ltr"><br clear="none"></div><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149407" dir="ltr">Also, what about adding a new context menu item for attachments? Do you know what DLL is associated with that, or I could prossibly do it via customization?<br clear="none"></div><br clear="none"> <div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149413" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149412" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149411" dir="ltr"> <hr size="1"> <font id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149410" face="Arial"><span id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149409" class="ygrps-yiv-261156221yiv1427779260"> <b><span style="font-weight:bold;">From:</span></b> "Jose Gomez <a rel="nofollow" shape="rect" target="_blank" href="mailto:jose@...">jose@...</a> [vantage]" <<a rel="nofollow" shape="rect" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Vantage <<a rel="nofollow" shape="rect" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>> <br clear="none"> </span><b><span style="font-weight:bold;">Sent:</span></b> Monday, March 16, 2015 9:33 AM</font><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149415"><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149414" class="ygrps-yiv-261156221yiv1427779260h5"><br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Vantage] Detect Opening Attachment<br clear="none"> </div></div> </div><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149418"><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149417" class="ygrps-yiv-261156221yiv1427779260h5"> <div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149416"><br clear="none"><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149420"><div id="ygrps-yiv-261156221yui_3_16_0_1_1426508905455_149419">
There is no BO , short of customizing the screen (view attachment) button I can't think of another way. In E10 there is a Lib that gets usedIce.Proxy.Lib.FileTransferYou could modify that code but that would be complex and require the SDK (or very creative thinking.... http://reflexil.net/)On Mon, Mar 16, 2015 at 8:34 AM, Ted Koch tkoch77@... [vantage] <vantage@yahoogroups.com> wrote:<div> <div></div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"><div>Hi Jose,</div><div><br clear="none"></div><div dir="ltr"><span>We are beginning to implement Autodesk Vault. The actual file locations are encrypted on the server, so I am needing to run a few lines of code to download the latest file version before actually opening the file.</span></div><div dir="ltr"><br clear="none"><span></span></div><div dir="ltr"><span>The path to the attachments would be something like this $/Designs/filename.dwg</span></div><div dir="ltr"><br clear="none"><span></span></div><div dir="ltr"><span>Then using the Vault's API I can download a local copy of the file using the location above. <br clear="none"></span></div><div dir="ltr"><span><br clear="none"></span></div><div dir="ltr"><span>This was my thought on how to get this to work anyway, since Epicor wants to launch the file using it's default program. However, the file won't be there unless I step in between the user opening the file and Epicor actually launching the default program.</span></div><br clear="none"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "Jose Gomez <a rel="nofollow" shape="rect" target="_blank" href="mailto:jose@...">jose@...</a> [vantage]" <<a rel="nofollow" shape="rect" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>><br clear="none"> <b><span style="font-weight:bold;">To:</span></b> Vantage <<a rel="nofollow" shape="rect" target="_blank" href="mailto:vantage@yahoogroups.com">vantage@yahoogroups.com</a>> <br clear="none"> <b><span style="font-weight:bold;">Sent:</span></b> Friday, March 13, 2015 5:38 PM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Vantage] Detect Opening Attachment<br clear="none"> </font> </div><span> </span><div><br clear="none"><div>
What's the end goal? I think you can do this... Somewhat but it's kinda complex. What are you looking for in the endOn Mar 13, 2015 3:14 PM, "tkoch77@... [vantage]" <vantage@yahoogroups.com> wrote:<div> <div>Hi all,<br clear="none"><br clear="none">Does anyone know if there is a BO method that is triggered when a user attempts to view an attachment in Epicor?<br clear="none"><br clear="none">I want to intercept this before the attachment is opened if possible?<br clear="none"><br clear="none">Thanks,<br clear="none"><br clear="none">Ted<br clear="none"></div><div><span><br clear="none"></span></div> </div> <div style="color:#fff;min-height:0;"></div>
</div> <div style="color:#fff;min-height:0;"></div>
</div><div><div class="ygrps-yiv-261156221yiv1427779260h5">
<div style="color:#fff;min-height:0;"></div>











