-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open new form in a separate application #256
Comments
I have worked out how to open a new blank form in a separate application. Do you have a method of returning the id of the row that has been inserted upon save? |
Hello, @MadsCastle7 |
I would like the Id to be generated after an InsertAsync. By way of example, I may wish to complete a form about the details of a hospital bed. Once i have completed those details, I then need the returned Id in order that i can link the hospital bed to a patient. The patient information may have been taken from somewhere like an API and would not be anythnig to do with Dynamic Forms. |
Hi Lucio, i've just noted that the Dictionary item is passed by reference and therefore we can access the new identity seed that has been added from there. I suppose it wouls be nice if the method returned the id though |
@MadsCastle7, you can get the Id by reference. Ex.: // after insert command
var myId = values["id"]; If you are using procedures, check if after the insert command at procedure it's returning the id variable. ...
IF @TYPEACTION = 'I'
BEGIN
INSERT INTO [TB_TEST] (
[name],
[age])
VALUES (
@name,
@age)
SET @RET = 0;
OUTPUT Inserted.id --THIS LINE IS IMPORTANT
END
... |
Yes, we have been thinking about this for a long time, but this will generate a big breaking change. |
thanks for the replies, in addition can you please tell me if its possible to create additional custom field component, for example, i notice there is no Check Box List Component |
The logging code uses inline SQL, are there any plans for this to be replaced with Stored Procedures? |
Yes, it is in development at 4.3 version |
No yet... any interfaces is missing or Use a Relation |
Morning Lucio, do you have timescales for version 4.3? |
The release of version 4.3 will be on 2024-08-28. |
I am using your FormView example to view a dictionary that i've created in a separate application.
Do you have a method to open a from for a particular row in edit mode, or open a new form dynamically from a separate application?
The text was updated successfully, but these errors were encountered: