I'm working through the "Building Graph-Based Web Applications With Structr 1.0" video and I've hit a bump when I get to adding a custom schema type.
First - it lists the new type "extends" a bunch of types - so far I haven't found what that means, so I've left it as an AbstractNode.
Next - when I add the type and then go to the "Data" tab, the new type isn't in the tab list - if I click on "Schema Node" the new types are listed there like so:
I checked the .config file to see if the schema service is setup to start, and it's in the list:
configured.services = NodeService AgentService CronService SchemaService LogService HttpService FtpService CloudService
There's no "Show Custom types" option on my "Data" tab - it looks like this:
How do I proceed from here?
Running 2.0 Build 5403 gave me the updated tabs in the Data area.
Related
About five years back, I wrote a program for a customer which effectively re-created the Windows Explorer context menu inside the program -- if they clicked on the object representing their data file, it showed the context menu they'd see in Explorer, including the Dropbox sharing menu items. (The mechanism is similar to the one here: https://github.com/linquize/explorerplus-custom/blob/master/Explorer%2B%2B/Helper/ContextMenuManager.cpp -- finding all the IContextMenu COM objects from the registry and querying each in term to add their menu items.)
This has worked fine all this time... but Windows 11 has changed things, and the new version of the Dropbox client (v159) has broken backwards compatibility.
To sum up, the old-style IContextMenu COM objects could all be queried under HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers (or similar locations), but the new short-form context menu on Win11 uses IExplorerCommand objects instead. Explorer includes them on the old-style context menu as well as the IContextMenu iterations -- in Dropbox's case this led to a bug which caused the menu items to be duplicated. They seem to have just fixed this in v159 by suppressing the IContextMenu items... meaning they don't show up in my menu any more.
So how can I find and iterate all the IExplorerCommand objects which are added to the new short-form context menu? Including the cloud-provider commands from apps like Dropbox?
For what it's worth, I can find class IDs for the Dropbox items in their AppxManifest.xml:
<Extensions>
<desktop3:Extension Category="windows.cloudFiles">
<desktop3:CloudFiles>
<desktop3:CloudFilesContextMenus>
<desktop3:Verb Id="Dropbox01UpgradeCommand"
Clsid="F3BC3DAF-431B-4F0E-B105-E9BB76335840" />
<desktop3:Verb Id="Dropbox02ShareCommand"
Clsid="7F4C5B83-2680-40AF-9AE9-2161AA759EF2" />
And it also defines the COM server they're running on:
<com:Extension Category="windows.comServer">
<com:ComServer>
<com:SurrogateServer AppId="67233DFC-D70F-4D8E-A068-6877D86826BC"
DisplayName="ms-resource:ShellExtensionServerDisplayName">
<com:Class Id="7F4C5B83-2680-40AF-9AE9-2161AA759EF2"
Path="DropboxExt64.55.0.dll" ThreadingModel="STA" />
<com:Class Id="F3BC3DAF-431B-4F0E-B105-E9BB76335840"
Path="DropboxExt64.55.0.dll" ThreadingModel="STA" />
And these entries are visible under HKEY_CLASSES_ROOT\PackagedCom, e.g:
[HKEY_CLASSES_ROOT\PackagedCom\Package\DropboxInc.Dropbox_159.4.5870.0_x86__wkt425jdc3sga\Server\0]
[HKEY_CLASSES_ROOT\PackagedCom\Package\DropboxInc.Dropbox_159.4.5870.0_x86__wkt425jdc3sga\Class{7F4C5B83-2680-40AF-9AE9-2161AA759EF2}]
[HKEY_CLASSES_ROOT\PackagedCom\Package\DropboxInc.Dropbox_159.4.5870.0_x86__wkt425jdc3sga\Class{F3BC3DAF-431B-4F0E-B105-E9BB76335840}]
...but I can't even co-create an IUnknown for any of these class IDs -- even within a shell extension running within Windows Explorer, let alone my own app. I get an HRESULT error 0x80040154 (-2147221164)
Basically, how do I locate these items? (Note that if I use ICatInformation::EnumClassesOfCategories(), the Dropbox items aren't defined with category information.) If there's no way to construct a complete list, is there at least a way to access known objects like the Dropbox ones?
After updating to TFS I tried to configure new features and I get the following error message:
[Error] TF400654: Unable to configure Planning Tools. The following element contains an error: BugWorkItems/BugWorkItems. TF400506: This element defines the states for work items that represent Bugs or Defects. Each state must exist in at least one of the work item types that are defined in: BugWorkItems. The following states do not exist in any of the work item types: Approved, Committed.
I read all about updating WIT and what not on the MSDN page but it is not the easiest way to go about.
Can someone help me out and point me into a direction on what I have to do?
TF400654 error means a mapping defined in the ProcessConfiguration file specifies a field or state that does not exist in the WIT defined for the team project.
You can either download the process template, modify the ProcessConfiguration file to correct the mapping, and then upload the process template, or export the WIT using witadmin exportwitd, add the missing field or state, and then import the WIT. Get more information from following links:
https://www.visualstudio.com/en-us/docs/work/customize/customize-agile-tools
https://msdn.microsoft.com/en-us/library/dd312129.aspx
I have following problem.
I have two files:
Source file - https://docs.google.com/spreadsheets/d/15zIdIeYFlca-SQ0ryl89oX_tbGjO_6cipqHkkxog7ho/edit#gid=0
Target file - https://docs.google.com/spreadsheets/d/1gGExeO2x8pqNzTPRvel8p-wwe-BDkdF5c6BFA8j_Py0/edit#gid=0
In the source file there is a script (function is named onEdit triggered with onEdit event). When you change the value of R3 cell (Source File) to other "Advisor" whole row should be copied to target file, but sometimes it works, sometimes not. If you change the value of advisor field once and it works try couple of times more and for sure there will be a problem with permission in a while.
When it's not working I get msg that there is problem with permission of executing function called getFileById, which is used in following line:
var file = DriveApp.getFileById('1gGExeO2x8pqNzTPRvel8p-wwe-BDkdF5c6BFA8j_Py0');
Any ideas what to do to solve the problem and why sometimes it works fine ?
Scripts using a 'simple' trigger can modify the file they are bound to, but cannot access other files because that would require authorization.
See here to learn more about the restrictions on simple triggers.
You can make sure you have all the permissions following the next steps:
Open the script project. At the left, click Project Settings
Select the Show "appsscript.json" manifest file in editor checkbox.
At the left, click Editor <>.
At the left, click the appsscript.json file.
Locate the top-level field labeled oauthScopes. If it's not present, you can add it.
The oauthScopes field specifies an array of strings. To set the scopes your project
uses, replace the contents of this array with the scopes you want it to use. For
example:
{"oauthScopes": ["https://www.googleapis.com/auth/spreadsheets.readonly", "https://www.googleapis.com/auth/userinfo.email"], }
Retrieved from: https://developers.google.com/apps-script/concepts/scopes
When I add a new parameter in the Process Parameter Metadata Editor, checkin my changes, and go back to edit the definition or queue a build from it, the parameter is not showing. Here is the parameter in the editor:
Other custom parameters I added in the past show up fine. For example, this one shows up fine:
So..I would expect my new parameter to show up the same way this one works.
I tried closing and re-opening VS2013 (I have update 4) and changing to another build controller, but get same behavior. How do I fix this?
A parameter must be defined at the Build Arguments level (the place you found the Build Parameters Metadata).
Afterwards, the Metadata defines how it shows up, which editors it uses, and what description should be shown on it.
That's about the metadata, but you need to add your parameter in the Arguments tab.
You will find it in the XAML Workflow editor at the bottom three buttons/tabs: Variables, Arguments and Imports.
I have a file with a list of cases that i would like to be able to use as multiple selection check box in my Jenkins project.
example: jenkins.properties
case01_successful_Connection
case02_successful_Disconnection
case03_unsuccessful_Connection
...
The list of cases (in the file) can be from time to time get bigger or smaller!
So, how can Jenkins now read those cases and create during "Build with parameters" the needed check boxes so that the user can select or not the cases?
How should the properties file look like?
Which plug-in should i use to achieve this?
Use the Extended Choice Parameter plugin
Setup new parameter, let's call it mychoice
Select "Type" as Checkboxes
Choose a "Delimeter", for example ,
Under "Choose Source for Value", select Property File
Specify location of property file, it has to be an absolute location, not relative.
Specify "Property Key" that's in the property file, for example "mychoice_values"
Type the following in your property file:
mychoice_values=choice1,choice2,choice3
Every time "Build with parameters" is invoked, it will read that property file, find line that starts with mychoice_values, and will present 3 checkboxes called choice1, choice2, and choice3.
If the property file changes, new choices will be presented
With the answer from Slav and my additional settings I managed to solve my question:
In addition:
1. i added "Default Value" = None
2. i added in the property file: mychoice_values=choice1,choice2,choice3,None (None)
With the above settings 4 check boxes are created and by default the None check box is pre-selected!
It is not perfect the solution, because the user has to uncheck the None box if he checks other boxes! Prefect would be, if None check box would be unchecked automatically when other check boxes are selected!!!