on 04-23-2017 4:25 PM
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,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.