lotus notes: error message when accessing a view - view

Our users told us that when they accessed some views from an outline this prompt - message is showing:
Not a member: ALLDOCUMENTS
After this message is shown, the view is opened correctly. I opened the respective views but in the view selection formula there isn't any #Formula regarding #UserRoles.
Also, in designer when I modify something and then ctrl + S the view => same error, with the title of the prompt message: IBM Domino Designer.
I appreciate any help and your time!

That means, that somewhere in the code of the view that is being opened there is LotusScript- Code, that tries to call the "allDocuments"- Property of an object. "AllDocuments" usually is a member of NotesDatabase- Class. But maybe a developer mixed it up with the "AllEntries"- Property of the NotesView- Class. Or the NotesDatabase- Object is defined as Variant and not assigned yet (timing issue)...
Whatever: This is a selfmade error... Ask the developer of the app or find out yourself:
You need to use the designer- client to examine the view that should be opened for any LotusScript found there or use the Debugger to find out the faulting code.

Related

Add custom settings in settings.settings

I come to ask a question about Settings.settings of a winforms application. I use it to save the information typed by the user to give them back when they reopen a form. Now I would like to record the content of a groupbox (dynamically generated, I specify). Except that I can't find the type Control.ControlCollection. When I select only Control I get an error:
Error CS0029 Unable to implicitly convert type 'System.Windows.Forms.Control.ControlCollection' to 'System.Windows.Forms.Control
I tried to simply save the groupbox, but when I saved the content didn't appear or so I still got an error: System.NullReferenceException The object reference is not set to an instance of an object.' So I wanted to know how to save a user setting with a custom type. Thanks in advance!

xperf -providers doesn't show the name of TraceLoggingProvider defined by TRACELOGGING_DEFINE_PROVIDER

I follow the tutorial to set up a TraceLoggingProvider in my application.
During the application runs, I try to use xperf -providers to see if my user event provider is there:
I cannot see the name I defined in TRACELOGGING_DEFINE_PROVIDER but only the defined GUID is shown. Is it intended?
Instead following another tutorial with WPRP file, I just use xperf -start to capture events. And the same: I can only use GUID as parameter, not the defined name! is it also intended?
Anyway, at the end I can view the result properly in WPA and the defined name of my user event provider is visible.
are all my observaton intended?
The name you use in the C++ code is unrelated to the display name on your pc.
You'd have a displayed name (instead of GUID) if this was a manifested installed provider, but TraceLogging isn't manifested (at least, not in the classical sense - an impromptu manifest is embedded into the image, and sent in the messages).

Dynamics CRM - How to get the Message default display string

Does anyone know how to use C# to get the Default Display String for a Message?
The Default Display String is the first column displayed when you open a Solution, select an Entity (such as Case), and then select Messages. It contains values like "A Parent Case cannot have more than {0} child cases. Contact your administrator for more details."
The DisplayString Entity seems like the right place, but it only has the CustomDisplayString and the PublishedDisplayString, and not the default display string. Microsoft have confirmed that the Default Display String is not in the DisplayString Entity, but they don't say where it can be found...
I have tried searching the Metadata Browser, and even went trawling through the Organisation and Config databases, but no luck.
Any help greatly appreciated ...
While this doesn't answer your question directly, it's a clue.
I checked a bit in the database, then searched for the Account entity message "Existing Account?" in the file system.
It's in this DLL:
C:\Program Files\Microsoft Dynamics CRM\CRMWeb\bin\Microsoft.Crm.Application.Components.Strings.dll
As far as accessing strings in that DLL from C# goes, I'm currently at a loss. You might want to create a MSFT ticket to see if they have any further suggestions. Another thought is that if you're targeting a particular entity, or a few entities, maybe copy the default message to the CustomDisplayString for the messages you're interested in.

New column for a Parse object doesn't appear in Parse application core console

I already have an object called Permission in my Parse application. It has four properties, namely: targetObject, roles, operations and action which appear fine in the Parse application core console.
Now, I added one more property called type to the Permission object.
I am able to save the object and read back the type property in the retrieved objects but I am not able to see the new column type for this new property in the Parse application core console.
What do I need to do in order to see this new column in the console?
Try reloading the app from the drop down list of apps or signing back in.
As soon as you create a new column, simply refresh the webpage showing the Parse Data Explorer.. they are aware of this issue, but it is set as a low priority to correct.

What is causing the compile error: Illegal NSTableView data source?

After some 'cleaning' of a working app, the main window appears as designed in the MainWindow.xib.
I deleted a MainWindowViewController object in IB. (was beneath Font Manager)
MainWindow.xib has it's Custom class set to MainWindowViewController
The table uses Content Mode - View Based
The two required methods ARE included in that implementation file
included in header file
Table view connection has been made to File's Owner
EDIT: Does the full error message give a clue? Why the NSApplication?
*** Illegal NSTableView data source (<NSApplication: 0x100607ad0>).
What am I missing? What should I check to resolve?
Image included to help visualize.
EDIT 2: (New info)
I deleted the data source & delegate connection from the table view and the error disappeared. The same IB designed window opens with an empty table view.
My 'project' is more complicated than the documentation covers. How to add a Window Controller to the Cocoa/Core Data template and utilize this controller is not easily found.
The most pronounced symptom was that the code in the intended controller was not being executed. The 2 required delegate methods were present. awakeFromNib wasn't being called either.
After more research, it appears the 'missing link' is the (previously deleted) NSObject set to the custom class of MainWindowViewController or MainWindowController in the nib file. I'm still looking for why this needs to be or why connecting to the File's Owner doesn't make the connection.
On the one hand, we can set the File's Owner to the custom class (MainWindow)ViewController or (Main)WindowController and connect the contained views to File's Owner. This doesn't work as I expected.
On the other hand, (apparently correct) we can add an NSObject to the MainMenu.xib file, set it's custom class to the (MainWindow)ViewController or (Main)WindowController and then connect outlets to the subviews to this object. The step of adding this object in IB is the only way I could find of connecting the window to the controller.

Resources