Currently, I have been using the following code to display the Upload Advance Dialog for media files:
$itemPath = Get-Item "master:\media library\Files" Receive-File ($itemPath) -AdvancedDialog
The dialog is working fine and is returning
undetermined as expected. Even though, is there any scripts that can be run to retrieved the list of media that have just been installed?
- Users can upload Zip files or single/multiple images at once.
- It is a requirement to use the Advance Dialog as point 1 states that user should be able to upload Zip Files
The aim of this development is to use the Sitecore Powershell to upload media and then update each uploaded media Alt Text with a value.
Below are some ideas how I can achieve this:
Loop in the container to retrieve each media item Id and store in a list and then after installation of the package, update each media item alt text where the ID is not present in the list.
Install the media items in a temporary folder in the media library. Perform the alt text update. Then, move each media item to the respective destination.