Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 12 2020 01:41

    jtkech on patch-1

    (compare)

  • Apr 12 2020 01:39

    jtkech on patch-1

    Update ZoneShapes.cs (compare)

musama
@musamak
Can we use a custom field in graphQL query for record filtering? For example, I have a ContentType=Blog and I added a Field "Category" and now I want to filter records in graphql query using blog(where: {Category: "Technology"}){ ... }
image111.png
image222.png
I am using headless CMS mode, thanks
andersnicolai
@andersnicolai
it is possible to make Orchard Core stateless, so that we don't use the appdata folder. Right now we can't scale because of that
6 replies
vmahant
@vmahant
I’ve bitbucket pipeline to deploy orchardcore. Everytime when latest code deploy to azure app service Some tenants start throwing 500 errror and it start working fine when I reload it from main cms tenant section. Is it something on azure side or any configuration need to add to orchard core to reload all the tenants
Rik
@rikbosch
Currently we're seeing connection strings stored in the shell storage (either file, azure or database sources). Is it possible to move these connectionstrings to azure keyvault?
Is the configuration for the shells combined with the host configuration?
Rik
@rikbosch
is it, for example possible just add OrchardCore--TenantName--ConnectionString as a key in azure keyvault to load the connectingstring from there
Rik
@rikbosch
question #2: is it possible to use DefaultAzureCredential for azure blob operations?
2 replies
jptillman
@jptillman_twitter
In the core docs, the Creating the Contact Form instructions mention a NoCaptcha widget. I'm working from an Agency recipe install and don't see that widget, even though I have the Forms feature enabled. (https://docs.orchardcore.net/en/latest/docs/reference/modules/Forms/#creating-the-contact-form) Am I missing something obvious.
Antoine Griffard
@agriffard
Enable the ReCaptcha feature.
2 replies
andersnicolai
@andersnicolai
image.png
jptillman
@jptillman_twitter
Is it really not possible to remove a transition in a workflow after it's been added? Surely there's a way that I'm just not seeing. I've clicked, hit delete/backspace, right clicked. Nothing.
ODAIR
@ODA669
the projection module how i can use that in the new orchardcore?
Anar Ahmadov
@anarahmadov
Hello everyone! I hope you all are doing well. How can I contribute to this repository? Do I need to get any allowance to do it?
6 replies
musama
@musamak
Good morning, how we can add a catagory field to blog content-type, and manipulate it in a graphql query like catagory == "sports" ? Thanks
3 replies
andersnicolai
@andersnicolai
When setting up multi tenancy in orchard core, is the preferred way to use the same database, with different folder structure. Or have a sepearte db for each tenant?
image.png
like preferred way to have a separate database for each tenant, but on the same server, or just use a prefix?
andersnicolai
@andersnicolai

quick question: :)

            .AddAzureShellsConfiguration()
            .AddDatabaseShellsConfiguration();

Should only one of these be enabled?

Or should only azure be enabled if you are using shells provider from azure.

If I remove AddDatabaseShellsConfiguration it gets an error

1 reply
jptillman
@jptillman_twitter

I'm figuring that the docs linked below are out of date and that there's no NoCaptcha module anymore, instead replaced by Google Recaptcha. A search of the codebase turns up nothing referencing NoCaptcha except the docs themselves. If I'm wrong, I'd appreciate a pointer, otherwise, I will try to submit a PR to fix the docs once I figure out the correct process...

https://github.com/OrchardCMS/OrchardCore/blob/339d74b251b53393dd510f8ad3027aa17d78500d/src/docs/reference/modules/Forms/README.md#configuring-nocaptcha

Martin Ellern Bilgrau
@ellern
I can't figure out how to include the AdditionalStylingPart (from https://github.com/Lombiq/Helpful-Extensions) in a GraphQL query. I've added the part via AddObjectGraphType - but it's still not included in graphql. I just want to be able to add custom classes/styles to every widget in my Flow part. What am I doing wrong?
vmahant
@vmahant
I'm trying to call api {apiBaseUrl}api/elasticsearch/documents?indexName=project&query={"from":0,"size":2000,"query":{"match_all":{}},"fields": ["ContentItemId","Project.Name"],"_source":"false"}
the way I'm getting respons is
image.png
I want to return just 2 field in response
Fikri Ghazi
@ghz_________twitter
Hi everyone, is there a way to style and update the html of the admin navigation?
image.png
Kevin Welsh
@kdubious
I think this is not correct
image.png
Looks like only 5.1.3 has been added to v1.5.0?
2 replies
Kevin Welsh
@kdubious
And, there are no visible errors, just the entire Resource system stops working silently. Is that correct?
1 reply
bjoeysouza
@bjoeysouza
I just started using Orchard Core, and I'm wondering if there are examples of allowing public users to fill out a form, then let only that public user view the data in that form, but not other public users. I'm thinking that I could create a workflow to email them a link to view that specific content item. Any guidance would be greatly appreciated.
Niraj Soni
@ns8482e
@bjoeysouza yes you can use workflow to create and send link, in link you can pass token that you validate in your controller action. You can use data protection to generate token
Emrah
@emrahtokalak

Hello,

I want to use the liquid in an application I'm developing. How can I use a method other than workflow to save and delete data for the Content Types I will create?

As I understand it, we cannot use graphql in liquid (not sure if it makes sense to use it). I'm going to generate many pages with many forms, I don't want to design a workflow for each.

I don't want to write C# code, I'm trying to understand how I can set up a dynamic structure since I aim to make the application I will develop changeable according to requests in the future.

Is there a method you can recommend?

andersnicolai
@andersnicolai

If the configuration does not exist, the provider will try to load it from the App_Data folder, and migrate it to the storage platform of choice.

Is it smart to disable MigrateFromFiles

Lets say we have 5 servers running orchard core to take off the load, wouldnt it be bad to let all of the 5 servers sync directly to azure?

Kevin Welsh
@kdubious
Anyone know about changes to "/search"? I had a site using 1.2-ish that had a view named "/Shared/search.cshtml" and it just worked serving up /search on the site. Now the site shows Page Not Found, not sure how / why I lost the URL... I'm on v 1.5.0 now
Kevin Welsh
@kdubious
And I get this trying to enable Lucene:
2022-12-05 13:32:35.8764|Default|00-0e0523d1636dead002e5d412e07196a5-2bf5142d1840e23d-00||OrchardCore.Data.Migration.DataMigrationManager|ERROR|Error while running migration version 0 for 'OrchardCore.Search.Lucene'. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null. (Parameter 'value') at Newtonsoft.Json.Linq.JToken.EnsureValue(JToken value) at Newtonsoft.Json.Linq.JToken.op_Explicit(JToken value) at OrchardCore.Search.Lucene.Migrations.<>c__DisplayClass2_0.<Create>b__1(ContentPartDefinitionBuilder partBuilder) at OrchardCore.ContentManagement.Metadata.ContentDefinitionManagerExtensions.AlterPartDefinition(IContentDefinitionManager manager, String name, Action1 alteration)
at OrchardCore.Search.Lucene.Migrations.Create()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at OrchardCore.Data.Migration.DataMigrationManager.UpdateAsync(String featureId) at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OrchardCore.Data.Migration.DataMigrationManager.UpdateAsync(String featureId)
2022-12-05 13:32:39.7099|Default|00-0e0523d1636dead002e5d412e07196a5-2bf5142d1840e23d-00||OrchardCore.DisplayManagement.TagHelpers.ZoneTagHelper|WARN|Unable to add shape to the zone using the <zone> tag helper because the zone's type is "OrchardCore.DisplayManagement.PositionWrapper" instead of the expected Shape
`
Kevin Welsh
@kdubious
And my Lucene Query UI is not right in the admin section
Kevin Welsh
@kdubious
Looks like this did not migrate:
image.png
Kevin Welsh
@kdubious
And also, this fails:
"term": { "Content.ContentItem.ContentType.keyword" : "BlogPost" }
1 reply
the .keyword is not working
youtpout
@youtpout
Hello, I used orchard core with openid, actually the users need to register by the webpage, but the main use is in mobile app, it's possible to register a new user with a web api call ?
So the user will register directly from the mobile app
almeidad
@almeidad
Good afternoon... Does anyone knows why do all workflows started with a Timer get Halted and don't execute? I'm trying to use the Workflow UI Timer task, but can't get any to work. Thanks for any advice on how to make it work.