Run Excel Web Office Script when worksheet opens - office-scripts

Is it possible to invoke office script when user opens worksheet?
Thanks,
Praveen Kumar P

It is currently not possible to attach an event-based execution to the script. It is part of the investigation backlog. It'd help if you could add feature asks here: https://excel.uservoice.com/forums/274580-excel-for-the-web?category_id=143439

Related

no record action button in office script

I am trying to identify where the Record Action button is on Ms Excel office script. There is no such button.
What I've tried:
I looked all of the available command and there is no Record Action. Only Record Macro.
how do I find the Record Action button/command?
Recording actions with Office Scripts was recently released to Office Insiders. According to their roadmap, it's slated for general availability in March.
based on #skin 's comment, I overlooked a simple detail on the tutorial
This tutorial teaches you the basics of recording, editing, and writing an Office Script for Excel on the web
record action available on the web, not desktop app.

Outlook Addin window.open

I´m new to the addins, just want to perform a simple task as creating a button with a link in the taskbar that opens a browser and that´s it.
So far created the project based on ms tutorial and everything is working great (with fixed certificate problems).
To my understand this should be as easy as to create a button with an ExecuteFuncion actions mapping to a javascript function with a window.open
e.g.
function windowOpen(event)
{
window.open("https://www.microsoft.com");
event.completed();
}
Thanks for the help,
Regards,
André
For security reasons, Outlook does not support window.open directly inside of Add-ins. To open a window in an Outlook Add-in you can use the displayDialogAsync API (documentation here.) We recommend this guide to understand end-to-end usage of displaying a dialog in an Add-in.

IBM Maximo 7.5 How to force a user to logout with action or automation script?

In Maximo 7.5 - Is it possible to force a user to logout using actions or automation script? The case scenario is - User follows the workflow and automaticaly gets logged out after the last action.
Thank you!
I've checked the presentation xml and found the answer, it takes about 3 minutes. Your mxevent is - signout. Just in case, next time try to explore all sources u have.

It is possible to modify the state of office addin command?

I am looking for how to modify the state of office app addin command,but get no results.Can anyone tell me is it possible to dynamically disable or hide the addin command button in Office ribbon after being loaded.It seems the Manifest file only load initially,and can't be changed after that? Thank you!
No. At present, the add-in command button only control by the menifest. It is not able to disable dynamically. You can submit the feedback from here if you require this feature.
As a workaround, you may also consider developing an VSTO add-in. However it only works for the Windows platform. Here is an helpful thread.

Feature Activation

We want to activate the existing future for more than 100+ site-collections, what would be the right choice? can we achieve this through Powershell?
If you don't want to code yourself, you can always download the SharePoint Feature Admin Tool from Codeplex.com.
It will allow you to select a Web Feature and activate/deactivate in recursively on a Site Collection.
Yes powershell would make this easy.
But there is also the stsadm command "activatefeature".
Together with the stsadm command "enumsites" and a bit of creating command script building you should go a long way.

Resources