I have created a custom button in the Sitecore content editor ribbon and I am calling a Sitecore Powershell script by using the command in the "Click" field of button item:executescript(script={6F54FCA3-F674-4D6A-9EBA-73A12B49F245},scriptDb=web)
But this is taking so much time(around 5 min) when we execute it for the first time but when executes this second time then it doesn't take time at all. The Powershell script doesn't take time when I run it in Powershell ISE. Is there any way to resolve this issue
Powershell script in sitecore content editor ribbon button taking so much time on first execution
214 Views Asked by Vinesh At
0
There are 0 best solutions below
Related Questions in POWERSHELL
- PowerShell Linphone Configuration
- How avoid \t being converted to Tab in Powershell
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Npm command not working in powershell but works in cmd
- Issue with path not being treated as encapsulated when calling cmd /C
- Native command throws error only when I redirect to a variable
- Logic Apps and long running Azure Function (Powershell)
- April fools - PsExec (PsTools)
- How to use nested ForEach-Object
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- Execution Stuck at Get-PnPPage if function executed on Button Click
- How can I expand a column from group output?
- How to use expression in regex -replace with capturing group in powershell
- powershell where-object -cnotmatch filter unwanted lines
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
Related Questions in SITECORE
- How to Customize Sitecore Copy operation
- Joomla 5..0.3 delay in search
- What's the event for when a Branchitem has finished creating?
- Convert Sitecore data sources to Guid, programatically
- How to specify an existing ItemId While uploading Media Items to Sitecore XM Cloud using UploadMedia mutation?
- Sitecore to WordPress migration
- Why changing template in Sitecore using powershell script creates a version in English language even if there no version exists?
- I want to convert sitecore search facet filter from multiple to single
- Sitecore - select fields and write to an excel sheet by changing the field names in Powershell
- Coveo for Sitecore: Precondition failed: The parameter 'p_ApiKey' must not be an empty string
- In Sitecore 10, why would my Content Editor Panel not open
- Not loading CSS files after login to my sitecore instance
- AWS - Amazon.Extensions.S3.Encryption.AmazonS3EncryptionClientBase is attempting to implement an inaccessible interface
- Cannot use import statement outside a module - jest + nextj.js
- To get the sitecore username who created sitepage
Related Questions in SITECORE-MVC
- Next JS locale undefined from useI18 hook when connected with sitecore for specific routes
- Not loading CSS files after login to my sitecore instance
- Sitecore Static binding With Placeholder
- Powershell script in sitecore content editor ribbon button taking so much time on first execution
- SwitchOnRebuildSolrSearchIndex is providing wrong results for SOLR master-slave setup
- How to connect and create a webpage that performs CRUD functionality to sitecore 9.3 using ASP.net MVC
- Changing Sitecore Cookie Config as HttpOnly
- How to make background image editable in Experience Editor in Sitecore using C#
- Get value from Js and bind to a json data attribute in cshtml
- How to create an anchor link to a Sitecore rendering
- How can I override Sitecore’s Media Handler to force user to redirect to login page if user is not authenticated
- Sitecore SXA - How to have shared layout?
- Sitecore 10.1.0 yotube video playing issue
- Is there any button click event in Sitecore Tracker in version 9.1
- Using JavaScript Show and Hide Div but styling disappear when showing the div again
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?