I know I have seen that before. But I don’t remember of hand what fixes it. I think sometimes it can happen if you create a new form and you haven’t compiled your solution once yet. So you might try that. You might also try a full model compile. I’ll let you know if I think of anything else.
Yes, I recommend using a menu item whenever possible. Only if you need to dynamically pass an argument to a form, or conditionally call one form versus another, should you really use X++ to call a form. This does happen. But using a menu item should be the first option you consider.
the part of using args is powerful and useful .. i can get the values of args in the destination form in override init method by using element.agrs().record() , element.agrs().caller() ,, etc.. RIGHT ?
Correct! Though you misspelled args. But yes you can use element.args().record and other methods like that one to get values passed from a form to a destination form.
Thank you Nampalli for your suggestions. Those are great ideas. I will work on those. I have some videos on Data Entities, creating a Custom Service, and business events, that are useful for integrations. But I plan to create more on this in the future as well.
Hi Peter I am facing issue with WorkFlow. I am using demo application i.e. VM OneBox and getting error "forbidden" when I m trying to open workflow. Could you please help me.
Peter, you make it so easy to understand. great explain on the expansive use of args.
Good video!
really good content
Great explanation, please make videos on Form button enable/disable using Coc.
Great info thanks for putting it together. Question my form Preview pane in blank in visual studio any tips on how to fix this?
I know I have seen that before. But I don’t remember of hand what fixes it. I think sometimes it can happen if you create a new form and you haven’t compiled your solution once yet. So you might try that. You might also try a full model compile. I’ll let you know if I think of anything else.
Thank you for the video Peter! Which of these 2 ways do you recommend we use? I assume the menu item way as we can attach security to it
Yes, I recommend using a menu item whenever possible. Only if you need to dynamically pass an argument to a form, or conditionally call one form versus another, should you really use X++ to call a form. This does happen. But using a menu item should be the first option you consider.
Helll Peter good evening,
I have a question for you and the question is here -> How can access date type form control in class ?
the part of using args is powerful and useful .. i can get the values of args in the destination form in override init method by using element.agrs().record() , element.agrs().caller() ,, etc.. RIGHT ?
Correct! Though you misspelled args. But yes you can use element.args().record and other methods like that one to get values passed from a form to a destination form.
@@peterramer thanks Peter
Hi...could you please post ssrs report , integration and code/data migration videos ...And if it is possible post Azure devops and power bi videos
Thank you Nampalli for your suggestions. Those are great ideas. I will work on those. I have some videos on Data Entities, creating a Custom Service, and business events, that are useful for integrations. But I plan to create more on this in the future as well.
Hi Peter
I am facing issue with WorkFlow.
I am using demo application i.e. VM OneBox and getting error "forbidden" when I m trying to open workflow.
Could you please help me.
I am unfortunately not sure what the issue could be. I suggest posting the question in axug.com forums.
@@peterramer yes I will. Thank you