Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
AK
New Member
Posts: 24
Registered: ‎05-20-2011

Run slx script outside client?

Is it possible to run slx script outside client, in my custom .net app? i need to create windows service (c#), which will run some vbscript - and find no such methods in slx api.
AK
New Member
Posts: 24
Registered: ‎05-20-2011

Re: Run slx script outside client?

Yeap, i know how to run .net code from slx (Application.Managed.Create and Application.Managed.Run, see http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=83 ), but i need a way to start slx from my own .net code then executing slxApplication.BasicFunctions.DoInvoke to get access to slx script and functions) But it seems that no way to run .net code outside slx... Am I right?
AK
New Member
Posts: 24
Registered: ‎05-20-2011

Re: Run slx script outside client?

It's me again. Is it any way to create slx object in 'silent mode', without starting client slx app? That's the way to create slx client from vb or c#: http://www.slxdeveloper.com/forum.aspx?forumid=3003&postid=2867 but i don't need to create client!
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Run slx script outside client?

If you can call it.. you can run it...

Yes, vbscripts can be run outside of SalesLogix... Here is a link to my blog on just how this is accomplished: blog.rjlsystems.net 

 

As you can see, there's (almost) complete code available there.. and the usual disclaimer prevails:.. " not necessarily fit for any use whatever.. user beware and be cautious.."

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Highlighted
AK
New Member
Posts: 24
Registered: ‎05-20-2011

Re: Run slx script outside client?

Your samples shows how to manipulate data within database, this is database layer - and i prefer sublogix for such proposal. But i need in my custom .net app to execute some bussiness-logic, coded in slx script - to avoid duplicating this logic twice - both in slx script and my app.
New Member
Posts: 7
Registered: ‎04-19-2011

Re: Run slx script outside client?

were you able to find a solution?