It seems like this should be simple, but how do I change the order of tab items in a set of tabs on a customized Acumatica web page? I created a new tab item and moved it to the first tab item when customizing it, and it's also the first tab item in the .aspx if I view it. However, if I export and publish within a package, it's the last tab item shown instead of the first.
This is 2017 R2.
Related
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.
I have built a webpart that basically displays all the items in a SharePoint list based on a set of criteria.
One of these criteria's is a date, a year specifically. The user is supposed to select the date from a dropdown list in the web part and the view area below will populate with all the items from that specific year.
That part works. The SPQuery grabs the data just fine and displays it in the format desired. The issue I am having is with the autopostback option on the dropdownlist.
It doesn't remember the current selectedindex, it remembers the PREVIOUS selected index. If I chooes 2014, the page loads but nothing changes, if I then choose 2013, the 2014 stuff appears, if I then choose 2010, the 2013 items appear, if I go back and then select the 2014, the 2010 stuff appears. It's always 1 behind and I have no idea why.
I've tried assigning a ViewState variable in the SelectedIndexChange to remember what was selected, but that too always seems to be one step behind. I can't seem to get the CURRENT selected index.
Does anyone know what's going on here?
Your question is more ASP.NET problem than SharePoint. Check MSDN to see page life-cycle. New values of controls are available after the onLoad event of Page. So just move your code to e.ge. onPrerender event.
I cannot find how to add a country to drop down menu when creating account, lead or contact. At the moment I see only 2 countries. I need to add one more and make it as default one. So when I create lead, contact or account I don't need to choose every time. I have all the rights but no knowledge.
Click on the Customize tab on the top of form ribbon and then select the Form option.
Form will open in edit mode, double click on country field and on new window select the Details tab.
Click on Edit button, a new window will open
Add new option by clicking on the green colour plus button (pointed out in screenshot below).
Select the default country from default value drop down (pointed out in screenshot below).
Save and close the Field window
Save and Publish the form.
You are ready to go.
I would like to implement filtering on my sharepoint list. My list is having title and description columns and I would like to poulate the ASP.NET dropdown list control with titles and when I select the title I would like to show the description. I have followed the link http://msdn.microsoft.com/en-us/library/cc300163(office.12).aspx to implement this.
I have created a blank aspx page in Sharepoint Designer and followed the same steps. everything works fine but when I export the webpart, only description part is getting exported. I cannot see the drop down on the page (but when I preview it on the browser I can see both).
In your question you say that you are creating a aspx page and then exporting a webpart.
It could be that you are placing the drop down on one thing and exporting another.
I have a column, B, that is calculated based on another column, A. At the top of the list, I'd like to display the sum of B. When I look in the Totals section in the Create/Modify a Column screen, I only see column A (actually, I only see all the non-calculated columns), so I can't choose to sum column B.
Is there a way to display a total for column B?
I found something that feels like a hack, but it works:
Using a web browser, edit your
desired list to use “Totals” on at
least one column in your list.
Open
your desired SharePoint site in
SharePoint Designer.
In the Folder
List view, find your desired list in
the Lists folder.
Open
AllItems.aspx (or whatever view you
want to edit).
In the Web Parts
inspector, Web Parts tab, click the
"Username Gallery" and the Web Part
List below that will display a list
that includes a Content Editor Web
Part (CEWP).
Drag the CEWP into the
AllItems.aspx (or whatever) view you
have open.
Save the aspx file.
Go
to this JQuery web page and copy
whichever script you're interested
in to the clipboard.
Go to your
SharePoint list using a web browser.
You'll see a line of text there now,
where you put the CEWP: "To add
content, open the tool pane and then
click Rich Text Editor." Click on
the "open the tool pane" link.
Click the Source Editor button on the right.
Paste the
script in the clipboard into the
Source Editor window.
Change the
"var col = 4; //which column to sum"
line so that the column number is
the one you want to sum.
Click the
Save button and then the OK button in
the bottom right.
Voila!
Unfortunately, this solution is very brittle. If you make any changes to the page in SharePoint Designer and save the aspx file again, the script code that you put in the CEWP is lost and you have to re-paste it back in again. To make it less brittle, you can just reference the code in a separate file. To do this, remove the code from the CEWP's Source Editor, save the code as a ".js" file in another SharePoint list (e.g., create a new one called "Resources"), copy the URL of that file, and paste the URL into the text box under "To link to a text file, type a URL".
If you are using a SharePoint data view you can display the count of a column using XSL
< xsl:value-of select="sum(/dsQueryResponse/Rows/Row/#ColumnName)" />
In your case the code will have Column B eg:
< xsl:value-of select="sum(/dsQueryResponse/Rows/Row/#column B)" />