Custom Content Center part: Filename problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi!
I'm having issues saving a file in the Content Center.
Here's my problem.
I have a content center part with ALOT of parameters. So much that the Filename is now a problem since the 255 char limit in windows.
We had a great idea, what if you hash all the parameters and make that hash the filename!
So I wrote an iLogic that get's all the userparameters and makes it a MD5 hash.
Now comes the issue:
1- I made an iPart with all key parameters and the MD5 hash column (export to iProperty Before Save)
2- I made that MD5 Hash (I save it to an Custom iProperty) and I set that to be the FileName
3- I try getting the file from the Content Center but it returns the old hash before I sent it to the Content Center.
I think the iLogic rule isn't being executed before pulling the file out of CC.
Is this true? Can I achieve the same result another way?
I need some guidance here. I'm getting a headache from trying the same thing and failing.
Thanks for anyone reading this 🙂