cancel
Showing results for 
Search instead for 
Did you mean: 

Impex restriction during upload in backoffice

Former Member
0 Kudos

Hi,

I wanted to put header restriction when user of lets say X group upload the impex. For ex : If user of EMP group can only upload impex for Lets say store. Is it possible to put evaluate or validate that he is uploading correct impex based on header. If he is uploading impex for Product, he should not be allowed.

Can we customize such kind of stuff in backoffice for impex upload.

Regards,

Former Member
0 Kudos

Hi ,

Did you get answer for this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

I would suggest that before insert the impex, check if the user has the right restriction.

like following code:

#% if: CatalogManager.getInstance().getCatalog("myCatalog") != null ;

INSERT Catalog; id[unique=true];

...

#% endif:

For more details please refer: https://wiki.hybris.com/display/release5/ImpEx+API#ImpExAPI-ImpexScriptinginhybrisCommerceSuiteprior... : Control Structures

Best,

Nan

Answers (0)