How can we customize the default warnings in Spartacus? - warnings

When an unauthorized user in Spartacus wants to log in and open PLP, the following default warning is displayed automatically.
This error is in default:
.../spartacus-develop/projects/assets/src/translations/en/common.ts
How can I customize this field in this file? When this happens, I want him to write another text.
Thank you very much in advance.

I think this section in the Spartacus Documentation should help you: Overwriting Individual Translations

Related

Lyx reconfiguration error on Mac and how to use .cls and .bst files on Lyx

Recently, the forward search on Lyx all of sudden stop working and the customized layout also stop working...
So, I try to reconfigure by clicking Tools - Reconfigure, but it says "The system reconfiguration has failed. Default textclass is used but LyX may not be able to work properly. Please reconfigure again if needed."
If I select customized document class then it says "Due to some error in it, the layout file: artticletheorem could not loaded. A default textclass with default layouts will be used. Lyx will not be able to produce correct output." I don't know what happened... It used to work well with no issue.
In addition, I would be very much appreciated if someone let me know how to use .cls file in lyx. It looks like I need .layout file, but how can I convert it? Also, I have .bst file for the reference style, but I have no idea how to use it in Lyx...

Logging in Revit Design Automation add-in

I want to send some diagnostic output to the default report.txt file.
In some posts it is shown that exceptions are logged to this report.txt file somehow (automatically or not?).
Also, I see in some samples that people do the logging with
System.Console.WriteLine(),
I've tried this, but still can't see it in the report file.
Could you tell me, how to achieve this?
I understand there is an option to create another log file and send it back with the result, but I think it would be easier to use this existing report.txt.
Thanks!
UPDATE: System.Console.WriteLine() works.
The reason why I didn't see the output was that my add-in failed to load.
So, it simply didn't reach this line of code.
Logging in Design Automation for Revit appbundles can indeed be done with System.Console.WriteLine. Anything sent to standard output will be capture in your workitems report.txt. For example.
The following code:
System.Console.WriteLine("Hello World!");
Will generate the following lines in the report.txt:
[04/23/2020 19:20:59] Hello World!

Custom added Status Reason does not display in SSRS report via FilteredView

I recently have a problem, in which I can not see newly added status reasons in my custom report.
I have created a report based on FilteredView in which status reason of opportunity must display.
It just show the original status reason ( canceled ), but the others I have created does not display.
I should display them in a chart, but they do not appear.
As administrator its OK, and I can see them.
But other users can not see.
What is wrong?
Should I put some security role somewhere?
Any help will be appreciated.
I have second language.
And that field did not translate into the second language, and that was the cause of this.
I export translation, edit that and import that.
Problem solved!

SSRS FormatDateTime

Im using =FormatDateTime(Parameters!StartDate.Value,DateFormat.ShortDate)
and its returning "mm/dd/yyyy" format.
I want to return it in this format "dd/MM/yyyy". Please help how to do it!
Thanks
Try this:
=Format(Parameters!StartDate.Value,"dd/MM/yyyy")
Click on the reportcanvas, Press F4. Now you get the properties of the report.
There is a property called 'language'.
Choose the appropriate setting, for example NL_nl if you want dutch notation.
Can't vote up/down due to an inadequate rep but the correct answer is that provided by henrov. In my case, it involved setting the language to en-GB.
I did, however, have to quit SSRS; delete the compiled reports; relaunch SSRS and recompile before the change could be seen in the preview window.

Method or Data Member Not found for every control or event

Got a weird problem. I was debugging some code for a form and everything was working as intended for the most part when suddenly I began to get a "Method or Data Member Not Found" for every event of my form. It's like my form suddenly does not recognize any of my controls or events. I have all of my methods properly closed and did not rename any controls.
Any ideas on what would be the root of "Method or Data Member Not Found" for every single control with an event?
Thanks
Importing into a fresh database as talbright suggested gave me more descriptive error messages.
A fresh import, compact&repair, and renaming of appropriate control fixed the problem from occuring. As Remou suggested, regular maintenance can help prevent these sorts of problems.
edit for future readers: This problem occurred while using a shared front end file. So don't do that if possible.
I've found that any MISSING: reference can make the simplest of code fail.
Check in the visual basic window
Menu Tools -> References
look down the checked refences to see if any are MISSING
I just fixed the same error by renaming text and combo boxes something not so close to a concatenated Table & Field string. Actually just prepended those names with "tbx" and "cbx".