Outlook web addIn dropdown menu - web

I have created the Outlook Web Add-in project and trying th create the dropdown menu by following the link under
https://github.com/officedev/outlook-add-in-command-demo
It seems that dropdown menu just take static list. What i want to do is i have webservices which is returning some destination and link of that destionation . I want to display the list of all those destination under the dropdown and by clicking one of it, it opens the link into task pane.
Any tips ? how to display from webservice in dropdown menu.

It is not currently possible to dynamically populate the dropdowns, your best bet would be to have a single taskpane action, then render a selector page that dynamically shows the available options, then navigate to the page associated with that option. Feel free to upvote this User Voice suggestion to let us know that this feature is important to you.

Related

Hide promoted links in sharepoint 2013?

I created a webpage containing various promoted link tiles. This page is my default page (when the user logons he/she is redirectedto this page). Based upon the group to which the user belongs I want to show some specific promoted link tiles and hide the rest of the promoted link tiles.
For example, my webpage contains 4 Promoted Link tiles.
For a normal user I want to show only 2 Promoted Link tiles and hide the rest of the tiles.
Whereas for admin I want to show all the Promoted Link tiles.
Or I thought of having different pages for different groups, but I couldn't find any setting in SharePoint 2013 to have different default pages for different groups.
I'm using both of the solutions listed above on the same site to meet different needs.
I have one Promoted Links list that provides 'activity' links for a number of different user types. In order to keep the user experience simple for users I'm setting permissions on individual items in the Promoted Links list to hide specific tiles/links from groups that don't need to see them.
On the list, you need to break permissions with the site, then change the permissions on the specific tiles you're 'hiding'.
I'm using SharePoint security groups to set permissions.
I'm using a second list to provide additional links on the page, but want to hide some of the links - sort of an active/inactive thing. Rather than adding a new field (which I haven't tested yet) I'm using the Order field as a filter. For example: If Order is less than 100, show them.
You can create the new view either in the browser (the 'Standard View' template will give you a tile view - surprisingly) or use the solution above for adding a view using SharePoint Designer. Either method will allow you to set a filter, sort, etc.
Alternatively, if you want to create another list type view, you can create a new view and use 'All Promoted Links' as a starting point.
You can create different views for different users using SharePoint Designer.
Below are the step by step guides.
Click on any blank region of the Promoted Links. This will show the ribbon for that Promoted Link.
Click List tab on the ribbon.
Click Create View.
Click Custom View in SharePoint Designer
Allow it to open in SharePoint Designer.
Give a name for your view, e.g. Test and click OK. By default, SharePoint designer takes Tiles view.
Close SharePoint designer and go back to your Promoted Links in browser.
Click the List Tab on ribbon.
Select the view you just created from the dropdown menu.
Click Modify View.
You can hide or display any link by giving a suitable condition for filter.
Actually the above thing is not possible in SharePoint.
For every user there will we same page in SharePoint but depending upon the group to which a user belongs we can hide and show a promoted links.
First create some groups and assign user to a particular groups and than change the permission of promoted groups to show/hide that particular group.

Custom view Ribbon Button in CRM 2011?

For contacts entity i have 3 custom views(view 1,view 2,view 3), i want to show a ribbon button in homepage grid only when we selecting a view 3.Is it possible in MS CRM 2011 ?
Maybe you can try with creating custom JavaScript 'Enable rule' for your ribbon button. Example here. Create new JS webresource with one function where you will check is specific View is selected.
If ribbon button MUST be hidden, just hide it after checking which View is selected. In this case, I think that this is possible only with modifying the DOM.
Hope it helps!

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

SharePoint 2010: Ribbon

I am new to SharePoint. I was hoping you can point me to the right direction to start with.
Here is what I have and am trying to do:
I have one top level site and many sub-sites.
A top level site and all sub-sites have a list called "Account"
I want to add a new Import from Excel Robbon button to the Account List\List Tools\Items\New for all sub-sites and not for the top level site
When user clicks on the newly added button, I want to display a dialog window which can allow users to browse an excel file on their computer
What would be the best and easiest way for me to add the ribbon button along with the import form to all sub-sites only for the Account list?
Thank you :)
I would suggest using a different content type for the lists in the subsite, one derived from the top level content type. This way you can easily create a ribbon button and assign it to the new content type only

Multiple select drop down user control or field control

I want to use multiple select drop down user control or field control on my page layout and I want to pull list items from list and show it on page layout in Sharepoint.Does anyone is having idea how to achieve this.
Thanks,
PS
In SharePoint Designer, go to:
Insert, SharePoint Controls, DataView
on the DataSource Library panel, choose a list and click "Show Data"
Drag and Drop a few fields from the Data Source Details
go to the Toolbox Tab in the same panel as Data Source Details and choose: "Data View Checkbox List"
Configure as you like
Edit based on your reply
If I understand your reply right, how about you have a Yes/No column(field) in your list named "IsVisible" with a Custom View where only items WHERE IsVisible Equals Yes on the web part and the Administrator will just edit the list and change the value for the Visible field.

Resources