I’m not aware of a way to provide an alternative experience of the same view in the mobile app vs web. I’m definitely not saying it’s not possible, but I wouldn’t know where to begin.
The only thing I can think of (which would be a lot of work, I think) would be to somehow duplicate the screen and make the modification to the duplicate screen and then customize the app to remove the original screen and replace it with the duplicated and customized screen.
The same thing could possibly be accomplished at the tab level, but I have very little experience doing this type of thing.
Hopefully someone else has a better idea.
PXGraph
has an IsMobile
property, you can check in in your dataview override.
Â
if (Base.IsMobile)
{
//return filtered data
}
else
{
//return everything
}
Â
Okay, This worked for me
Â
    PXImport(typeof(PMProject))]
    ÂPXFilterable(new Type(] { })]
    >PXCopyPasteHiddenFields(new Typee]
    {
      typeof(PMTask.completedPercent),
      typeof(PMTask.endDate)
    })]
    public PXSelect<PMTask, Where<PMTask.projectID, Equal<Current<PMProject.contractID>>>> Tasks;
    public virtual IEnumerable tasks()
    {
      PXSelectBase<PMTask> sel = new PXSelect<PMTask, Where<PMTask.projectID, Equal<Current<PMProject.contractID>>>>(Base);
      if (Base.IsMobile)
      {
        sel.WhereAnd<Where<PMTask_Ext.usrConstructionTask, Equal<True>>>();
      }
      return sel.Select();
    }