Custom Content Center part: Filename problems.

Custom Content Center part: Filename problems.

m.veldkamp
Explorer Explorer
277 Views
0 Replies
Message 1 of 1

Custom Content Center part: Filename problems.

m.veldkamp
Explorer
Explorer

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

image.png

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 🙂

 

 

 

 

0 Likes
278 Views
0 Replies
Replies (0)