LotusScript to Recompile LotusScript in a Database

Is there a way to Recompile LotusScript in a Database via LotusScript?
LVL 1
Michael WilliamsApplication DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
Why would you want to do that? Or do you also modify your design through LotusScript? AFAIK there is no direct way to recompile LotusScript, and I don't even know if the server has a compiler, assuming that you want a background agent to recompile everything.

You could try in a foreground agent, using the keyboard library, sending keystrokes to Notes.
You could also try to find something in the C API...
0
Michael WilliamsApplication DeveloperAuthor Commented:
I wanted to see if it's possible because we have an elevation process for 11 databases. A part of this process is to recompile all LotusScript. Right now it is manual. Wanted to see if this was one of the steps I could put a part of a single action that will be performing a number of the current manual steps.
0
Sjef BosmanGroupware ConsultantCommented:
Ah, got it. It might not be impossible to do it using keyboard strokes. See https://www.openntf.org/main.nsf/project.xsp?r=project/LotusScript%20Gold%20Collection and then the SendKey.lss library.

And how about the TeamStudio suite?
0
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Michael WilliamsApplication DeveloperAuthor Commented:
We have CIAO, Configurator and Delta however I do not believe we are going to purchase any additional licenses. I believe Build Manager has a feature to recompile LotusScript.

I will look at the Link you sent.
0
Michael WilliamsApplication DeveloperAuthor Commented:
I found the following Code and it appears to be working. It calls NSFNoteLSCompile to recompile LS of a specific Design Note.

http://www.nsftools.com/tips/LSRecompile.lss
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael WilliamsApplication DeveloperAuthor Commented:
Link provided has sample code from Julian Robichaux.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.