Activities of "rwright-ruhealth"

Hi,

you can try to enable SSL to check if it's work

Hi Support; As I mentioned earlier, it works with SSL. It does not work when you attempt to browse the /SettingManagement page via NON-SSL connection. For example: If I browse the new server using the HTTPS url and accept the untrusted self-signed SSL certificate in IIS browser warning, I can connect to /SettingManagement page no problem, even though the browser Chrome/Edge warn that the connection is not private. If I click the advanced button then click the link to the unsecured url, I can navigate successfully.

From there, I can use the /SettingManagement link.

I am perplexed because this link is the only one that fails out of all of the Administration links when it is navigated via non-SSL.

Was hoping you could shed light on why this is an issue for only this one resource link.

Meanwhile, I will use our internal CA server to generate a trusted certificate for this server so that it may continue being used uninterrupted.

Thank you for looking into this matter.

There are no errors. I think Chrome or EDGE is actually passing an XHR POST that is not hitting the generated proxy script.

The main differences: The internal site is not using SSL/TLS - is there a browser reliance on SSL for AJAX for cross site scripting? is there a launchsettings.json that needs to change? Browser shows /MYWEBAPP/_bundles/Pages.SettingManagement.Components.EmailSettingGroup.Default.ACFAD1EB35F39 in the working application.

In the moved application, no references to the PROXY scripts are showing.

headers: Request url: https://mysite.mywebsite/myapp/SettingManagement?handler=RenderView&id=Volo.Abp.EmailSetting show up in the working web site.

In the local site I am not getting this far. Is SSL required for the SettingManagement piece?

Id	ApplicationName	UserId	UserName	ExecutionTime	ExecutionDuration	ClientIpAddress	ClientName	ClientId	CorrelationId	BrowserInfo	HttpMethod	Url	Exceptions	Comments	HttpStatusCode	ExtraProperties	ConcurrencyStamp
5CC515ED-16B5-395A-C7F7-3A13FC87439C	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:45:12.7315718	0	10.22.168.190	NULL	NULL	8acdf5632a70446588eb614033bd80ab	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	ded99a5c4b7d470091cc7d2eb07aa5e8
45222F8B-D0A5-1A02-A199-3A13FC7954F1	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:29:59.6648106	0	10.22.168.190	NULL	NULL	b1f057e368344f8ea5eaa1d8f20289b4	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	cb2faf4b2fb74941aff4bd14931b661d
6F288DF8-EC60-ADBE-2FE4-3A13FC790C3C	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:29:41.0522510	1	10.22.168.190	NULL	NULL	0dd3a362bac54001ac70ffc944df70b4	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	35b2dccf6fd041519b6a2479f648696b
3BB8A0CB-BAB7-B59D-9494-3A13FC7901E0	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:29:38.3999505	1	10.22.168.190	NULL	NULL	54ffc8c26aee47dbada26c796be409ac	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	6c6c16f438eb4e5aa3ad8c487cae03c4
DB32A4A6-D22B-6F00-90F1-3A13FC78F81B	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:29:35.8987819	0	10.22.168.190	NULL	NULL	055f04475fd84bc5b7e10d1992e5eb1a	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	18e31554eed640ac882d381c3706049a
95189E19-588F-260A-1A28-3A13FC78EC21	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:29:32.8331461	0	10.22.168.190	NULL	NULL	b653d3d515094b938c44b75a89892e23	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	180e0c2559ca4a9097a449ceee980b5b
EA656637-95DC-4434-C8FA-3A13FC78E014	MYWEBAPP.Web	3C4F055A-9E56-8450-4B9A-3A0D47AB47DC	admin	2024-07-25 07:29:29.7474094	1	10.22.168.190	NULL	NULL	84cfebd98201432a9d0eb764ea1dbd22	Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36	POST	/SettingManagement	NULL		400	{}	430321663121486cafad781d36508020

HI,

Could you share the error logs?

When you say error logs, do you mean the logs stored in SQL server, or logs stored in the Log folder (none are generated in logs folder)?

Greetings; Thank you for your quick resolution to this issue. I implemented the suggested changes in the web module and removed the reference to identity server. Login is now successful. I consider this particular issue closed. Thank you.

The CSS z-index setting solves the problem. Please do not count against our support allotment. Thank you for your quick response.

the tag <suite-custom-code-block-1>...</suite-custom-code-block-1> is never generated when I choose to generate the page without creating a new entity in the database. This is an existing project upgraded to the 7.4 rc-4. I am trying to get the suite-custom-code-block-# tags to generate in the existing page, which does get regenerated. However, the custom code block tags are not created in the page. If I create a new entity, the suite-custom-code-block-# tag comments are sprinkled throughout the .cshtml page. seems to be ignored when I regenerate code wrapped in this tag in a .cshtml page. I have checked the customizable checkbox in ABP Suite. The .cshtml page is recreated completely, wiping out any change wrapped in the custom code block tags for existing pages that I manually add these tags to, since APB SUITE does not add them when regenerated.

Hi, I have re-checked it again and it seems there is not any problem here. You should have added the code block as follows:

Correct ✅

@*//<suite-custom-code-block-1>*@ 
    <h1>customizated content</h1> 
@*//</suite-custom-code-block-1>*@ 

Wrong ❌

@*<suite-custom-code-block-1>*@ 
    <h1>Custom Code</h1> 
@*</suite-custom-code-block-1>*@ 

Our placeholder is //<suite-custom-code-block-n>, please try with this placeholder and you will see that it's working as expected.

APB Team; The reason I believe this to still be a bug is because: A: The ABP Suite generates the .extended.cs class for existing projects when you check the Customizable Code checkbox. But, it's only half complete. It does not regenerate the pages and javascript files correctly. The .cshtml pages get regenerated but there are no @//<suite-custom-code-block-x>@ @//</suite-custom-code-block-x>@ tags. Why regenerate the main class and create the .extended.cs file if you are going to neglect to regenerate the cshtml and javascript code without the custom code blocks? The same for the javascript files. //<suite-custom-code-block-x> //</suite-custom-code-block-x> blocks are not generated in the freshly regenerated javascript code. It leaves the solution half-baked. Can this issue be fixed? Also, it really shouldn't be counted against my support questions. Thank you for looking into this.

Hello rwright-ruhealth,

could you please check this link https://learn.microsoft.com/en-us/answers/questions/1246334/drop-down-in-razor-that-can-let-you-type-the-value?page=1

Here instead of controller you need to add code in code behind i.e. *.cshtml.cs or Model.

please do let me know if it helps you

Thank you, Anjali

Good day; I did something similar after researching documentation using the select2 combo and razor pages. The problem I ran into is my custom code gets clobbered by ABP suite when I regenerate the page. I was thinking there must be an ABP way to do it that I wasn't aware of. Now that I upgraded to version 7.4 rc5 I am going to try again using the custom code blocks comment tags to see if I can keep my changes. I figured out some of the tricks to working with the custom code blocks so far. See my write up in this support question. [Question #5892](https://support.abp.io/QA/Questions/5892/14629-THE-custom-code-tag-suite-custom-code-block-n-is-ignored-by-ABP-Suite-Custom-code-is-wiped-out)

Thank you for your followup. I will await documentation. Meanwhile, I will also wxplore templates as well.

the tag <suite-custom-code-block-1>...</suite-custom-code-block-1> is never generated when I choose to generate the page without creating a new entity in the database. This is an existing project upgraded to the 7.4 rc-4. I am trying to get the suite-custom-code-block-# tags to generate in the existing page, which does get regenerated. However, the custom code block tags are not created in the page. If I create a new entity, the suite-custom-code-block-# tag comments are sprinkled throughout the .cshtml page. seems to be ignored when I regenerate code wrapped in this tag in a .cshtml page. I have checked the customizable checkbox in ABP Suite. The .cshtml page is recreated completely, wiping out any change wrapped in the custom code block tags for existing pages that I manually add these tags to, since APB SUITE does not add them when regenerated.

Hi, I have re-checked it again and it seems there is not any problem here. You should have added the code block as follows:

Correct ✅

@*//<suite-custom-code-block-1>*@ 
    <h1>customizated content</h1> 
@*//</suite-custom-code-block-1>*@ 

Wrong ❌

@*<suite-custom-code-block-1>*@ 
    <h1>Custom Code</h1> 
@*</suite-custom-code-block-1>*@ 

Our placeholder is //<suite-custom-code-block-n>, please try with this placeholder and you will see that it's working as expected.

I disagree with your answer: The custom-code-block-1 will not work in your example because the html you show will be placed in the @section styles { ... } section which gets placed in the <head> ... ..</head> tag when you regenerate the page in ABP SUITE, losing all changes. It seems these custom-code-block tags are expected to be used in specific locations in the page beyond the user's control.

I will give an example. I have placed the following custom code blocks in a page. just above the starting abp-card tag and below the last @section content_toolbar { section } in books tutorial books index page .cshtml file:

@//<suite-custom-code-block-1>@ <h1>custom block 1</h1> @//</suite-custom-code-block-1>@ @//<suite-custom-code-block-2>@ <h2>custom block 2</h2> @//</suite-custom-code-block-2>@ @//<suite-custom-code-block-3>@ <h3>custom block 3</h3> @//</suite-custom-code-block-3>@ @//<suite-custom-code-block-4>@ <h4>custom block 4</h4> @//</suite-custom-code-block-4>@ @//<suite-custom-code-block-5>@ <h5>custom block 5</h5> @//</suite-custom-code-block-5>@ @//<suite-custom-code-block-6>@ <h6>custom block 6</h6> @//</suite-custom-code-block-6>@

When I use ABP Suite to regenerate the page (using a simple books tutorial book page this is what I get:

@section styles { @//<suite-custom-code-block-1>@ <h1>custom block 1</h1> @//</suite-custom-code-block-1>@ }

@section scripts { <abp-script src="/Pages/Books/index.js" /> @//<suite-custom-code-block-2>@ <h2>custom block 2</h2> @//</suite-custom-code-block-2>@ }

@section content_toolbar { <abp-button id="ExportToExcelButton" text="@L["ExportToExcel"].Value" icon="download" size="Small" button-type="Primary" /> @if (await Authorization.IsGrantedAsync(GranTrakPermissions.Books.Create)) { <abp-button id="NewBookButton" text="@L["NewBook"].Value" icon="plus" size="Small" button-type="Primary" /> } @//<suite-custom-code-block-3>@ <h3>custom block 3</h3> @//</suite-custom-code-block-3>@ }

@//<suite-custom-code-block-4>@ <h4>custom block 4</h4> @//</suite-custom-code-block-4>@

<abp-card> <abp-card-body> <abp-row class="mb-3"> <abp-column size-md="_12"> <form id="SearchForm" autocomplete="off"> <div class="input-group"> <input class="form-control page-search-filter-text" id="FilterText" placeholder="@L["Search"]"/> <abp-button button-type="Primary" type="submit" icon="search"/> </div> </form> </abp-column> <abp-column size-md="_12" class="mt-3"> <a href="javascript:;" id="AdvancedFilterSectionToggler" class="text-decoration-none">@L["SeeAdvancedFilters"]</a> </abp-column> </abp-row>

    &lt;abp-row id=&quot;AdvancedFilterSection&quot; style=&quot;display: none;&quot;&gt;
        &lt;abp-column size=&quot;_3&quot;&gt;
            &lt;abp-input asp-for=&quot;TitleFilter&quot; label=&quot;@L[&quot;Title&quot;].Value&quot; /&gt;
        &lt;/abp-column&gt;
        &lt;abp-column size=&quot;_3&quot;&gt;
            &lt;abp-input asp-for=&quot;AuthorNameFilter&quot; label=&quot;@L[&quot;AuthorName&quot;].Value&quot; /&gt;
        &lt;/abp-column&gt;

@//<suite-custom-code-block-5>@ <h5>custom block 5</h5> @//</suite-custom-code-block-5>@ </abp-row>

    &lt;abp-table striped-rows=&quot;true&quot; id=&quot;BooksTable&quot;&gt;
        &lt;thead&gt;
			&lt;tr&gt;
				&lt;th&gt;@L["Actions"]&lt;/th&gt;
				&lt;th&gt;@L["Title"]&lt;/th&gt;
				&lt;th&gt;@L["AuthorName"]&lt;/th&gt;

@//<suite-custom-code-block-6>@ <h6>custom block 6</h6> @//</suite-custom-code-block-6>@ </tr> </thead> </abp-table> </abp-card-body> </abp-card>

Not what I was expecting. Is this expected behavior? It appears to me the custom code blocks place themselves at certain points in the page and the user has no control over where these blocks are placed. So, at this point we seem to be stuck with using the code block points as and if they are generated by ABP Suite.

At the very least, I have figured out how to the get the code blocks to stay when I create them in existing pages. My steps are: Create all 6 code custom code block points, as above using VSCode or Visual Studio to edit the .cshtml page. After editing save the page. Then use abp-suite to regenerate the items, etc and ABP Suite will move all of the code blocks to where it expects to find them. ABP Suite will not, however add items 2-6 for example, if you only put @//<suite-custom-code-block-1>@ @//</suite-custom-code-block-1>@ ABP Suite will only create this block and it places item 1 in the @ section styles { ... }

The same thing will happen if you just put code block 6 only in your razor page @//<suite-custom-code-block-6>@ @//</suite-custom-code-block-6>@ custom code block 6 will get moved to below the thead/tr/th columns and above the closing thead/tr tag custom code blocks 1-5 will not get added.

Finding this stuff out by trial and error as there is no documentation. Thank you.

Showing 21 to 30 of 37 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13