Starts in:
0 DAY
0 HR
33 MIN
57 SEC
Starts in:
0 D
0 H
33 M
57 S

Activities of "nabass"

Answer

hi can anybody help me if anjali busy

Answer

could you create sample like link you share with me (step by step) for doing that logic when running open login page as usual without side bar and when login open the page and side bar still hidden but logout is exist to logout any time could you because i have a lot of conflicts ???

Answer

hi anji i followed your link it always open on my page not open login page for first time what i want to do is open login page as usual from home page and when login hide menu bar and direct open my page with controller for logout (just i want to hide red square) here is my html

and this is ts and i noticed it is the same code into (home.ts)

app.component

Question

is there a way to edit layout default when login it open home page then choose my page in route to open what i want to do is when login with my tenant i want to open directly to my page and sidebar will be hidden i am sure there is an option to make this hidden when open the page and make user control it open it or close it and when login directed open my page not home page

  • ABP Framework version: v8
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

finally it works thanks super man

hi

This is a swagger error.

Please share a simple project to reproduce. I will check it.

liming.ma@volosoft.com

I have followed the steps provided in this documentation, except that I have a modular project:

Integrating DevExpress Reporting into ABP MVC Application

Here are my project Project Structure first:

I Have added the Bundling Folder insdie web In the src Module:

and here it is the reportDesigner Razor page

the code: @page @model Horizon.HorizonERP.Web.Pages.Reporting.DesignerModel @using DevExpress.AspNetCore @using Horizon.HorizonERP.Web.Bundling.Reporting.DocumentDesigner; @using Horizon.HorizonERP.Web.Bundling.Reporting.DocumentViewer;

@{ var designerRender = Html.DevExpress().ReportDesigner("") .Height("1000px") .Bind(Model.DesignerModell.Report) .DataSources(configureDS => { foreach (var ds in Model.DesignerModell.DataSources) { configureDS.Add(ds.Key, ds.Value); } }); @designerRender.RenderHtml() }

<div> @designerRender.RenderHtml() </div>

@section Scripts { <abp-style type="typeof(DevExpressDocumentDesignerStyleContributor)" /> <abp-script type="typeof(DevExpressDocumentDesignerScriptContributor)" /> @designerRender.RenderScripts() }

.cs class

public ReportDesignerModel DesignerModell { get; set; }

public void OnGet() { JsonDataSource jsonDataSource = new JsonDataSource(); jsonDataSource.JsonSource = new UriJsonSource(new Uri("https://raw.githubusercontent.com/DevExpress-Examples/DataSources/master/JSON/customers.json")); jsonDataSource.Fill();

DesignerModell = new ReportDesignerModel
{
    Report = new XtraReport(),
    DataSources = new Dictionary&lt;string, object&gt;()
};
// DesignerModel.DataSources.Add("BookStoreDb", dataSource);
DesignerModell.DataSources.Add("JsonDataSource", jsonDataSource);

} public class ReportDesignerModel { public XtraReport Report { get; set; } public Dictionary<string, object> DataSources { get; set; } }

ReportingContoller

using DevExpress.AspNetCore.Reporting.QueryBuilder.Native.Services; using DevExpress.AspNetCore.Reporting.QueryBuilder; using DevExpress.AspNetCore.Reporting.ReportDesigner.Native.Services; using DevExpress.AspNetCore.Reporting.ReportDesigner; using DevExpress.AspNetCore.Reporting.WebDocumentViewer.Native.Services; using DevExpress.AspNetCore.Reporting.WebDocumentViewer; using Microsoft.AspNetCore.Mvc; using Abp.Application.Services; using DocumentFormat.OpenXml.Wordprocessing; using Horizon.Inventory;

namespace Horizon.HorizonERP.Web.Bundling.Reporting.Controllers;

//public class ReportingController //{

//[Route("api/HorizonERP/CustomWebDocumentViewer")] //[ApiController] //[ApiExplorerSettings(IgnoreApi = true)] public class CustomWebDocumentViewerController : WebDocumentViewerController { public CustomWebDocumentViewerController(IWebDocumentViewerMvcControllerService controllerService) : base(controllerService) { } }

//[Route("api/HorizonERP/CustomReportDesigner")] //[ApiController] //[ApiExplorerSettings(IgnoreApi = true)] public class CustomReportDesignerController : ReportDesignerController { public CustomReportDesignerController(IReportDesignerMvcControllerService controllerService) : base(controllerService) { } }

//[Route("api/HorizonERP/CustomQueryBuilder")] //[ApiController] //[ApiExplorerSettings(IgnoreApi = true)] public class CustomQueryBuilderController : QueryBuilderController { public CustomQueryBuilderController(IQueryBuilderMvcControllerService controllerService) : base(controllerService) { }

} //}

DevExpressDocumentDesignerContributer:

DevExpressDocumentDesignerStyleContributor:

Registered Controllers inside webmodule:

I have followed the steps provided in this documentation, except that I have a modular project:

Integrating DevExpress Reporting into ABP MVC Application

Here are my project Project Structure first:

I Have added the Bundling Folder insdie web In the src Module:

and here it is the reportDesigner Razor page

the code: @page @model Horizon.HorizonERP.Web.Pages.Reporting.DesignerModel @using DevExpress.AspNetCore @using Horizon.HorizonERP.Web.Bundling.Reporting.DocumentDesigner; @using Horizon.HorizonERP.Web.Bundling.Reporting.DocumentViewer;

@{ var designerRender = Html.DevExpress().ReportDesigner("") .Height("1000px") .Bind(Model.DesignerModell.Report) .DataSources(configureDS => { foreach (var ds in Model.DesignerModell.DataSources) { configureDS.Add(ds.Key, ds.Value); } }); @designerRender.RenderHtml() }

<div> @designerRender.RenderHtml() </div>

@section Scripts { <abp-style type="typeof(DevExpressDocumentDesignerStyleContributor)" /> <abp-script type="typeof(DevExpressDocumentDesignerScriptContributor)" /> @designerRender.RenderScripts() }

.cs class

public ReportDesignerModel DesignerModell { get; set; }

public void OnGet() { JsonDataSource jsonDataSource = new JsonDataSource(); jsonDataSource.JsonSource = new UriJsonSource(new Uri("https://raw.githubusercontent.com/DevExpress-Examples/DataSources/master/JSON/customers.json")); jsonDataSource.Fill();

DesignerModell = new ReportDesignerModel
{
    Report = new XtraReport(),
    DataSources = new Dictionary&lt;string, object&gt;()
};
// DesignerModel.DataSources.Add("BookStoreDb", dataSource);
DesignerModell.DataSources.Add("JsonDataSource", jsonDataSource);

} public class ReportDesignerModel { public XtraReport Report { get; set; } public Dictionary<string, object> DataSources { get; set; } }

ReportingContoller

using DevExpress.AspNetCore.Reporting.QueryBuilder.Native.Services; using DevExpress.AspNetCore.Reporting.QueryBuilder; using DevExpress.AspNetCore.Reporting.ReportDesigner.Native.Services; using DevExpress.AspNetCore.Reporting.ReportDesigner; using DevExpress.AspNetCore.Reporting.WebDocumentViewer.Native.Services; using DevExpress.AspNetCore.Reporting.WebDocumentViewer; using Microsoft.AspNetCore.Mvc; using Abp.Application.Services; using DocumentFormat.OpenXml.Wordprocessing; using Horizon.Inventory;

namespace Horizon.HorizonERP.Web.Bundling.Reporting.Controllers;

//public class ReportingController //{

//[Route("api/HorizonERP/CustomWebDocumentViewer")] //[ApiController] //[ApiExplorerSettings(IgnoreApi = true)] public class CustomWebDocumentViewerController : WebDocumentViewerController { public CustomWebDocumentViewerController(IWebDocumentViewerMvcControllerService controllerService) : base(controllerService) { } }

//[Route("api/HorizonERP/CustomReportDesigner")] //[ApiController] //[ApiExplorerSettings(IgnoreApi = true)] public class CustomReportDesignerController : ReportDesignerController { public CustomReportDesignerController(IReportDesignerMvcControllerService controllerService) : base(controllerService) { } }

//[Route("api/HorizonERP/CustomQueryBuilder")] //[ApiController] //[ApiExplorerSettings(IgnoreApi = true)] public class CustomQueryBuilderController : QueryBuilderController { public CustomQueryBuilderController(IQueryBuilderMvcControllerService controllerService) : base(controllerService) { }

} //}

DevExpressDocumentDesignerContributer:

DevExpressDocumentDesignerStyleContributor:

Registered Controllers inside webmodule:

hi

Try adding [ApiExplorerSettings(IgnoreApi=true)] to your controller.

[ApiExplorerSettings(IgnoreApi = true)] 
public class CustomQueryBuilderController : QueryBuilderController 
{ 
    public CustomQueryBuilderController(IQueryBuilderMvcControllerService controllerService) 
    : base(controllerService) 
    { 
    } 
    } 

I am still encountering the same error, Are there any clean and reliable steps to properly integrate the DocumentViewer into an ABP application .. I Mean Another documentation that I can follow with?

i found it i will try and tell you the result

same error i already have different port as i mentioned in oAuthConfig and i created new clientId in database see the image again where can i get the scope ??

Showing 41 to 50 of 158 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06