I added a test in Sitecore test lab named HeroImage . I added variable and values for the test. Then i go on the page editor where i want add the test .Then i right click the control property window .
In Control Property Window i do not find TestLab Navigation Tab .Whereas i Saw TestLab Navigation tab in some examples for the add test in Sitecore.( http://www.experimentsincode.com/?p=165 ) .
Please suggest .
Click on the red sitecore button on the top left, then click on "Application Options". To enable this. For some reason its not visible by default.
Related
I am looking at this SwiftUI tutorial and it suggests I can see extra actions upon Command-Clicking the SwiftUI elements in code. In my Xcode, this jumps me to the class definition.
I see there's an option in XCode 11.0 t change the Option key to show SwiftUI inspector, however, this still does not let me modify SwiftUI code elements using actions like "Embed in VStack"
How can I get both inspector and extra SwiftUI actions when interacting with SwiftUI Code (not the preview)?
Extra SwiftUI actions show when Canvas is opened (shortcut: Option-Command-Enter or ⌥+⌘+↵):
canvas is closed
canvas is opened
The accepted answer doesn't work for me on macOS 10.15.5 and Xcode 11.4.1.
The Good news is that you can get it via a shortcut of [Command][Shift][Left Click] on a SwiftUI element or by clicking Show Code Actions on the right click menu.
Instead of using the mouse, I recommend using the Xcode hotkey for bringing up code actions. Navigate to Preferences -> Key Bindings and search for Show Code Actions. You'll see the preset hotkey which you can then customize. My default key binding was Shift+Command+A. Just make sure you cursor is over the intended element when you press the hotkey.
You can change the command click behavior where you were looking under Xcode -> Preferences, Navigate tab.
Rather unintuitively, if you pick "Selects Code Structure", then command+click will bring up the SwiftUI menu options you're looking for (granted the canvas is open).
If you do this, you can still jump to definition via control+command+click
Conversely, if you'd prefer to continue to use command+click to jump to definition, you can instead use control+command+click to bring up the SwiftUI menu options.
Command clicking on a view will not work in Xcode 12.2 and 12.3 (under MacOS 10.15.5) if you have your preferences different than Xcode expects.
You have to change your Navigation preferences for Command-click on Code: to Selects Code Structure before the proper menu will appear when you command click on a View.
To change this. press command , to open your preferences and select the Navigation button. The option you need to change is in the first popup menu.
Can we make a clickable link to another page in draw.io ?
For example, I would like to click on rectangle element in Page 1 and the click forward me to the page 2 in draw.io ?
- like a box in the box ?
Thank you
I dont know why this question hasn't been answered yet.
It's pretty simple:
Right click the item you want to add a link to and select "Edit Link"
On the Edit Link modal, you can add an external URL, or link to another page from the same project* (which, I belive, was your case a year ago when you asked).
Done.
To test your page, go to the "File" menu (top left), and select "Publish -> Link..." and then click "Create".
*Other pages from the same project will only appear on the list if you have created them on a different tab (tabs are at the bottom of the editor).
Since 2020-11-11:
draw.io / diagrams.net natively supports linking from any shape to other tabs:
Right click any shape or text
Select "Edit Link"
Select the tab you want to link to in the second radio button dropdown
Click "Apply"
The link will work in the view mode:
Select Menu > File > Publish > Link
Optional: Untick "Edit" to prevent editing for viewers
Click "Create"
Copy the generated link to share with others
Links in the viewer will be clickable
I have a "Slide Show" control and I'd like to remove the first "X" button in the tool bar of the control. I have checked .ascx and .ascx.cs file to see if there is any related code, but nothing.
I think these buttons are from Core DB and I don't know where I can remove or hide this "X" button in Sitecore.
Could you help me, please?
Find Slide Show sublayout in your Sitecore tree.
Scroll to Editor Options section and remove Delete from the Page Editor Buttons field.
beginner question for sitecore about settings the right.
So I have an item is open in the page editor.
The renderings on the page has bunch of icons on the ribbon. One of them called 'select the parent element (element name)'.
In my case when I click on it, I am presented with the placeholder with button 'add here' and the ribbon with some component buttons that a user can use to add the controls.
So, QUESTION:
"how I add access to the button on that ribbon for certain role? Where do I set it up? "
For some certain role that placeholder's ribbon is completely empty, including there is no button 'select the parent element' even though
i know there is a parent element.
thank you very much for help,
HF
Here are the screenshots (no icons on the placeholder ribbon, and the user's rights:
enter image description here
And here is how that looks for the admin:
All the settings for the Page Editor are held in the Core database. So in the Sitecore Desktop, switch to the core database and open up the Content Editor.
Navigate to : /sitecore/content/Applications/WebEdit
This item holds the items that make up the page editor. To edit the ribbon menues, go to:
/sitecore/content/Applications/WebEdit/Ribbons
I don't remember seeing that particular button in the Core database, so this is likely a built-in feature that requires the user to have one of the built-in permissions.
The first thing I would check is that Designing is turned on. Have the user go to the 'View' tab in Page Editor and make sure they have checked the 'Designing' checkbox.
If that doesn't work, it sounds like the user you have does not have design access to the page. I would examine the inherited roles using the User Manager and check if they have the Sitecore Designer role inherited.
It is possible they just need to be provided the correct role in the system so that they can access the buttons.
Have you tried the "Sitecore Client developing role"?
Also, for the blue arrow drop list location, in order for the rendering button to show up in that location, you have to check whether the button in the webedit folder under core database(/sitecore/content/Applications/WebEdit/Default Rendering Buttons). The Type field needs to be "Common" in order to show up in the blue arrow droplist.
Example can be the "Edit related item" (/sitecore/content/Applications/WebEdit/Default Rendering Buttons/Edit related item) shows up in the blue arrow droplist.
is it possible to hide or deactivate a menu item in the file button called also jewel button? I´m able to hide completely the file button with javascript, but I want to hide or disable only some menu items in the flyout menu.
Thank you in advance
You will find these Jewel buttons within the application ribbon. You can choose to hide these buttons in your customizations.xml via some hide HideCustomActions. The names of some of the Jewel buttons you will find are:
- Mscrm.Jewel.NewMenu.NewActivity
- Mscrm.Jewel.NewMenu.NewRecord;
For example, within your appointment ribbondiffxml section within your customizations.xml, you could have a HideCustomAction like:
<HideCustomAction HideActionId="CustomHideAction.JewelMenu.NewActivity" Location="Mscrm.Jewel.NewMenu.NewActivity" />