web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Shell execute command from button on page

(0) ShareShare
ReportReport
Posted on by

Hi all, 

I want to create a button (can be either from Ribbon Workbench or HTML web resource) that triggers a shell execute command to open a directory in the network database server.

ShellExecute(0, PChar('Open'), PChar(xHelpFile), '', '', SW_SHOWNORMAL) <= 32

Where 

xHelpFile = ‘\\DSICRM\CtelWin\Online Help\SW Latest\DSISWHelp.chm’

How can I do the same?

Thanks,

Jon

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Jon,

    I don't think you can execute shell script on CRM Online. Even if you are able (I don't have any experience on that) but I am pretty sure you cannot access the network resources on CRM online.

    Hope this helps.

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You can't access resources through plugins/custom workflow, but you should be able to do that using javascript something like this msdn.microsoft.com/.../gg537745(v=vs.85).aspx without any problem.

  • Community Member Profile Picture
    on at

    Hi Mahender,

    Thanks for your reply.

    The link that you have shared is for desktop apps only (client). How can I do this on browser/crm online?

    Thanks,

    Jon

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans