Hi,
we are customizing the "Wharehouse Management" app but we are facing an issue with the list customization using the ProcessGuideFramework.
Basically the list rendered both on the mobile device and the internal emulator is different compared to the "WorkList" list:
... worklist...
We can't figure out how to customize the list in order to achieve this "card" style.
We decorated the step using this code:
[WHSWorkExecuteMode(WHSWorkExecuteMode::CGKTestProcessSample)] public class SheetAppWHSMobileAppServiceXMLDecoratorFactorySampleList implements WHSIMobileAppServiceXMLDecoratorFactory { ////// Instantiates the WHSMobileAppServiceXMLWorkListDecorator class. /// /// /// Contains information about the context that may be required for instantiating the WHSMobileAppServiceXMLWorkListDecorator. /// /// /// The WHSMobileAppServiceXMLDecorator class. /// public WHSMobileAppServiceXMLDecorator getDecorator(container _con) { if (this.isSOListStep(_con)) { return new WHSMobileAppServiceXMLDecoratorWorkList(); } return new WHSMobileAppServiceXMLDecoratorFactoryDefault().getDecorator(_con); } private boolean isSOListStep(container _con) { #WHSRF const str InputStep = classStr(SheetAppProcessGuideSampleListStep); int curStemNum = conFind(conPeek(_con, 2), #CurrentStep); str currStep = conPeek(conPeek(_con, 2), curStemNum 1); return currStep == InputStep; } }
But it doesn't seems to be loaded since the debugger doesn't stop on it.
We are probably missing something...
Any idea on how to achieve the result we see in the worklist?
Here some link we found online:
( ) Mobile Device - New list is empty in app - Dynamics 365 Finance Forum Community Forum
Thank You for your help
Paolo