John, On Thu, May 23, 2019 at 10:28 AM John DeSoi via 4D_Tech < [email protected]> wrote:
> > Can you inject a form from a component into a host system? > > if so - how? > > Not possible as far as I know. In theory it will be possible with version > 18. With version 17 you can use dynamic forms to some extent, but doubt you > can get everything working the same as a form created in the design > environment. > The only thing I've found that you can't do with a Dynamic Form is write code into the 'method' property - you can only call a project method. But I haven't thought object code was a good idea for a long time. I've exported some very extensive forms from old databases using FORM Convert to dynamic and it all comes over. I seriously doubt 4D is going to invest any more resources in supporting the classic structures beyond compatibility. So something like moving a form is not likely to happen. Besides, the use case Chip describes is really a perfect example of using dynamic forms. They could be included in the component as JSON files or hard code. The files would be better, I think, but either would work. The definition files could either be accessed directly from the component of written to the Host db's Resources folder. As I think about it coupled with the improvements in PROCESS TAGS and 4DEVAL you could launch a whole process with its own form from static disk files. -- Kirk Brooks San Francisco, CA ======================= What can be said, can be said clearly, and what you can’t say, you should shut up about *Wittgenstein and the Computer * ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

