From within a custom Teams tab, can I somehow know what items did the user select in the "Files" tab ?
I'm developing a custom Teams tab (using typescript, react, and sharepoint web parts) which can be added to any channel page (alongside Posts, Files...).
The ideal scenario would be that the user first selects an item in the Files section (eg. a folder), then opens the custom tab, and in there I can know what the selected item is.
Can I somehow achieve this ?
Thanks.
Related
On folder selection (Inbox, Deleted, Sent, etc.) the Outlook email items are shown listed in the explorer view as a list of Outlook items.
For each Outlook items, some icons (attach, etc.) are show on the right. How can I add new icons there for each outlook item? I want to do the same as explained here or here, but instead of changing an existing one, I would like to add a new one/s.
Additionally (this is optional) it would be great if I could execute some code when user clicks on it but I am ok if I can just show it.
UPDATE 05/10/2022
There are two posibilities:
Add new columns to the message grid preview in the explorer view, I mean put more columns at the beginning or after the last column (flag one). This view is obtained when you resize the width of the messages grid:
Use the existing last column of the messages grid preview, marked with a flag, and put there more icons with its click event handlers.
Is it possible to implement both above solutions?
There is no trivial way to inject custom icons there. The best what you could do is to use the PR_ICON_INDEX property with a set of predefined icons. The property contains a number that indicates which icon to use when you display a group of email objects.
As explained in the articles mentioned in your post you can use the PropertyAccessor.SetProperty to set up an icon for Outlook items.
Additionally (this is optional) it would be great if I could execute some code when user clicks on it but I am ok if I can just show it.
You can handle the SelectionChange event of the Explorer class which is fired when the user selects a different or additional Microsoft Outlook item programmatically or by interacting with the user interface. The Outlook object model doesn't provide any other events for that.
There is no way to add a new icon next to the old one - the message view in Outlook does not support that level of customization.
The only way to replace a build-in icon with a truly custom one (instead of using one from a few dozen predefined icons) is to create a custom form (even if exposes no customization) and specify an icon for that form. If the message class (MailItem.MessageClass) matches that of a custom form, Outlook will show your custom icon. Not ideal at all.
I have a set of related page actions. I would like multiple menu options to appear in the page action list, and I'd rather not create separate extensions for each one.
Is it possible to:
Create multiple page actions in the menu from a single extension (question: how would the OnClick event work?)
Create a flyout menu like the "Send Tab to Device >" flyout that appears by default
I have created some custom columns for the Risk List. I am able to add these column to the default view but When I click on the New Item Link in the Project Risks, I am still getting some unwanted default columns. For the Form that loads on Clicking the "New Item" Link on the risks page on a project site.
Can we edit that form from Customize the Form on the list settings.
Will this impact the existing risk synchronization mechanism?
You can hide those column in New/edit item, just edit its content type (Project Site Risk) and change it status to Hidden (Will not appear in forms)
I have the two classics areas toolbar and content.
My problem is that I want to have different forms / areas that have tabs in the same region.
One of the areas / form have a document search form and when you click on a row in the search result a document is displayed in a new tab. The user will see a tab for the search form and a tab for each document.
when I click on the menu to show another form e.g. Administration I want to show the administration form in the same content area and when I i click on the search document menu I want to go back to my previous search result.
Do I create a form without content with only and area for the search form? or can areas coexist?
I am using the prism navigation framework.
Right now I have created a search form with only a tabregion and nothing else. The problem is that prism can't navigate to the searchform region before the form is loaded. Thats not a big problem, I can use the regionmanger to load the form if it's not loaded. I just wonder if prism somehow can handle this without custom code.
As commented above on the question, the scenario you described would be a particular Region on which you want to show an Administration or a Search View, and multiple tabs aside when showing the Search View.
You could accomplish this scenario by having a MenuRegion where Administration and Search Views are registered, and defining then a SearchTabRegion on a TabsControl in the SearchContentView where you would add each TabView.
You may find more related information on the UI Composition Prism Guide chapter:
7: Composing the User Interface Using the Prism Library 5.0 for WPF
Regards.
I would like to create a page in Joomla without showing it in a menu.
That would be easy when the URL could be from the root, e.g.
www.mysite.com/hiddenpage
I would just make a menu without module to show it and assign a menulink to that hidden menu.
However the url should be
www.mysite.com/parentpage/hiddenpage
So the page should be linked to another existing page as a childpage but without showing in the menu.
So far this seems not possible?
Am I overlooking a feature in Joomla which would allow me to simply deactivate visibility in the menu without preventing the page from being accessed from the internet?
Or perhaps is it possible to edit or override a core component to force Joomla to allow this behaviour?
UPDATE:
Too much thinking in one direction...
The solution to do this is to edit the menu-item > linktype > css give it class "hide" (integrated bootstrap class) to just block visibility in the menu...
It's possible but a litle bit tricky. Try these steps :
Create a new two articles, name it as you wish (for example Article A and Article B )
Create a new menu group (from your administrator page go to : Menus > Menu Manager > Add new menu, name it as 'Hidden Menu'
Create a new Single Article menu item (under the 'Hidden Menu'), choose 'Article A' as as the article source and type 'parentpage' in the Menu Title field
Create a new Single Article menu item (under the 'Hidden Menu'), choose 'Article B' as the article source, choose 'parentpage' menu as the parent item and type 'hiddenpage' in the Menu Title field.
Now both of urls www.mysite.com/parentpage and www.mysite.com/parentpage/hiddenpage should be accessible now
As others have mentioned you can find extensions to modify URLs or hide the menu items using CSS, but these can require quite a bit of work especially if this is a one-off or once in a while situation.
However, there is one way to do this with Joomla as-is and will work with any type of menu items, not just articles. These instructions assume you already have a 'hidden' menu setup.
In a hidden menu, create menu items (or move them if they already exist) for parentpage and hiddenpage.
Set parentpage as the 'Parent Item' option in the hiddenpage menu item. Basically, create the page/subpage structure you'd like to see in the URL.
On your visible menu, create a 'Menu item Alias' (under 'System Links') menu item. Set the 'Menu item' option to the parentpage (listed under the hidden menu).
Enjoy. Parentpage is a visible menu item. hiddenpage is available at www.mysite.com/parentpage/hiddenpage
-Nick
No this is not possible with Joomla.
There are several options for you to achieve the same result, I list them in order of ease.
Use joomla redirect component. Simply tell the user to surf to the url he wants, he will then find it in the administrator - components - redirect, where she can insert the non-sef url.
Tell them to use a different prefix: i.e. create a hidden menu where they will add the direct links;
Additionally, in order to remove the id from the url you can:
Install simplecustomrouter extension, it should do the job out of the box but some coding may be required on your part in order for it to work properly; extremely lightweight.
Go for a blasoned SEF extension such as sh440sef, this will add some overhead and may require a lot of work in configuration.
FOR JOOMLA 3.X:
While editing the childmenu just set (under "Linktype") "Display in menu" to "no"... it's simple like that!
Here's a reference to the joomla.docs site
https://docs.joomla.org/images/6/6f/Help-3x-menus-menu-manager-new-menu-item-link-type-en.png
if link is broken just search for "edit menu linktype joomla 3" in future.
I'm glad I can return the many saved searchtime to y'all stackpeople. Go on Community!