Created doctype is not showing in Frappe/ERPNext - frappe

I have created a custom doctype in ERPNext v10^, but the problem is; created doctype shows in doctype list but it's related form doesn't exist.
ERPNext is in production mode and the option 'custom' is by default checked.
Thanks in advance

You have probably restricted it to a specific domain. Remove that limitations and try again.
Restrict to Domain should be empty

Most likely this is related permissions. Please check the user you are accessing with has the requisite permissions for the DocType.

Related

In PingFed, how can I rebuild my setup on local so that my properties files that I have imported in take into effect?

My PingFed has a connection to a SSO page. That page doesn't have the verbiage I want even though I changed and replaced the properties files. How can I rebuild so that it works?
I agree with Andrew K's comment above, but my guess here is that your updated messages are not being used because you either need to restart PingFederate or disable caching of the message properties files.
For more details, see the tip at the bottom of this page (cache-language-pack-messages setting in <pf_install>/pingfederate/server/default/data/config-store/locale-options.xml): https://docs.pingidentity.com/bundle/pingfederate-101/page/ujv1564002982909.html

Experiencing problems with Firebase Database Console

I started a brand new project. There is no data yet.
But i'm not able to insert anything because this default: project-name= null record is missing. You can see in this video:
I'm not sure what to do:
I tried to set data using JavaScript SDK but the default permissions for read and write require authentication. SO i need to change the rules. But i can't access the rules either.
Any ideas how to solve this? Thanks:)
This is the browser's problem.
You can try to clear your browser's cache or disable browser's extensions/plugins that have access to modify all the data on the websites you visit.
Hope this helps :)

Compatibility mode IE

I made a lot of research on this topic but none of the found solutions helped me.
So, let's start: I have a VB ASP.NET WEB Application.
The problem is the users can see the source code of the aspx files in the browser (IE) when the Display intranet sites in Compatibility View is unchecked.
I tried all of the methods, settings compatibility from IIS, web.config or even from the meta tags from <head>.
I discovered that also with the checkbox unchecked if I use Enterprise Mode the browser displays the page ok.
I tried then to find a solution to force the Enterprise Mode from code but I didn't find anything without changing registry keys. Changing registry keys can also be done to the above checkbox.
If I go in the DOM Explorere in IE and I try editing the source, anything I delete from there, the page is displayed ok.
How can I force the Enterprise Mode, or the Compatility View Mode from code? or is there another solution for me to solve this problem?
In my opinion you need to check the caching of the application if you say that if you modify something in DOM the page appears.

How to set Default document in ASP.Net

How can i set different default document for each folder in my asp.net project.
I have set a default document from IIS, but that doesn't show up for every folder browsed.
I have already added HTMLs to the collection but they are not showing up, instead stander ed Forbidden error page shows up.
Yeah you can do this by setting all the different pages in the default document collection and then creating those pages in the folder you want to have redirect. the IIS will automatically select the nearest available page for showing.
Good Luck..
You can add default.aspx to each folder and then when Page_Load occurs call Response.Redirect("URL_TO_YOUR_PAGE") to document you want to be default.
Hope it will help you.
Best regards, Dima.

ASP.Net Context.User.Identity weirdness

I have an ASP.Net 3.0 SP1 app that uses Form Authentication.
While testing, I noticed that if I viewed a page that another user was viewing, the other users name would be displayed in the control on my master page. The Context.User.Identity is also for the other user.
If I switch to different page that no one else is viewing the Context.User.Identity is correct.
I stumped and would appreciate suggestions.
Thanks in advance.
Chris
Maybe because output caching is enabled for the page: if the page is cached server-side with VaryByParam=none, all users will get the same copy from the cache.
I can only think of two things that can cause this:
You're storing user-specific data in a place shared between requests (e.g. in a static(C#)/shared(VB) variable, in the ASP.NET Cache, in the Application object, ...)
You have output caching enabled.
Check for:
OutputCache directives in your aspx and ascx files,
system.web/caching element in your web.config file(s),
Calls to the HttpCacheability.SetCacheability method.
If you can't find the problem:
Try creating a simplified version of your application until you get the simplest possible version that still reproduces the undesirable behaviour.
During this process of simplification you'll likely discover the problem for yourself. If not, post some code from the simplified version.
Make sure you are not using a link that comes with the authentication ticket when using a cookieless browser.
Also make sure to review any other that might be sharing the data among requests. Just like DOK said, but remember Application isn't the only way you could be doing that.
It looks like the issue was caused because I setting targetframe="_self" or Target="_self". I removed all these and everything seem to be working fine.
One other note: If I were to refresh the page it would also display the page with the correct user.

Resources