6

I'm working on a SPE script that uses the standard media library upload tool to take a file then uses the built in unzipper to unzip it. Upon unzipping the media items sometimes it removes dashes from the media item names and sometimes it leaves the dashes. I've tested the same zip using the Upload Files (Advanced) dialog and it shows the same behavior so I suspect this isn't an SPE issue

1 Answer 1

6

I figured it out, this was an issue with item name length. By updating the following

<setting name="MaxItemNameLength" value="100"/>

to

<setting name="MaxItemNameLength" value="200"/>

I have consistent dash behavior

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.