I'm using the context.parameter.lookup.getViewId() method to get the view id but it's always null. I then tried to check the form in Classic Mode, saved and publish from there and now the getViewId() method work fine and return the id but the lookup control aren't showing up in the UIC mode now...
