Replies: 5 comments
-
The best thing would be to copy what's in the AdminController of the OrchardCore.Contents module. It already works with any Content-Type. If there is something that doesn't work then it's related to what you push to these methods. |
Beta Was this translation helpful? Give feedback.
-
I shared my whole code based can you please assist me how I achieved this
take my whole week but unable to achieved still facing trouble.
I copy as it is from admincontroller.cs and I hardcoded content type but
there values not set when it going to be update?
Please advise.
…On Sat, 5 Mar 2022, 3:03 am Jasmin Savard, ***@***.***> wrote:
The best thing would be to copy what's in the AdminController of the
OrchardCore.Contents module. It already works with any Content-Type. If
there is something that doesn't work then it's related to what you push to
these methods.
—
Reply to this email directly, view it on GitHub
<#11298 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHWC46VCQJNAFV746YZSALU6KCD3ANCNFSM5P6M6ZUQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
What you are trying to do is to change the Owner and Author of the ContentItem? |
Beta Was this translation helpful? Give feedback.
-
Just want to save data of my content type Subscriber.
But it not inserting? Please advise
…On Sun, 6 Mar 2022, 1:22 am Jasmin Savard, ***@***.***> wrote:
What you are trying to do is to change the Owner and Author of the
ContentItem?
—
Reply to this email directly, view it on GitHub
<#11298 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHWC4Y6IRLLWVY5YUHVDCTU6O7AHANCNFSM5P6M6ZUQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
@saleemhaq there are two CRUD sample code available on Check and see what you are missing in your code |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Folks need ur help in below:
I created a content type subscriber on admin side:
I wanna require to save newsletter subscriber email addresses programmtically:
so I used the below code but that code not save my data:
Saving Code:
and i sending the data from ajax like below:
Controller part:
Below is the screen shot of front pages:
Email Input front site like that:

so it not update my values also not inserting please advise folks:
Beta Was this translation helpful? Give feedback.
All reactions