Visual Studio Lightswitch Auto Fill for existing data - visual-studio

I am new to using visual studio lightswitch and I have formed a table with data, but I want to know if there's a way I can get it so that when I start typing, suggestions will come up. As a lot of the data (i.e. Company Name) is repeated throughout, so it would save me typing it out in full every time. I don't want to use a drop box as it cant be limited. I have got this far without typing code so if we could keep it basic that would be great. Thanks
I am really desperate; Any help or comments would be much appreciated

LS HTML 2013 supports filtering/searching collections out of the box, just mark all searchable fields of your entities as "Is Searchable" and display the filter/search box on your screen, e.g. having your Customers displayed on a BrowseCustomers screen, you can trigger this capability as following:
myapp.BrowseCustomers.created = function (screen) {
screen.Customers.showSearch();
};
if you need "more control", you can add a dataitem to the screen (e.g. string "FilterTerm"), bind it to the query and tweak the LS createQuery method for your specific needs (e.g. the Customers VisualCollection), a good example can be found at Progressive insight on autocomplete as you type in the Lightswitch html Client

Related

capture data of a slickgrid using UiPath

I am trying to scrap data from a slickgrid, but it isn't working out. It has problems with selector or meta data. I have tried using wildcards, and other alternatives too, but all fail to scrap the data. Can anyone help me out in this?
I think you are going to have to get to know Slickgrid a bit to work out what to do. Slickgrid only displays the currently visible data, so scraping the data from the UI will only get partial results.
The best thing to do would be to find the underlying data object and print it as JSON. However this would be impossible to do in a general sense (ie. for any website).
It's relatively easy for a single target website, and may be able to be automated with a few tricks for multiple renderings of the same page of a specific website.
(edit: whoops, just noticed the UIPath bit. I had a look, but I don't know how it works. Assume it looks in the HTML. Basically, that will only work if you are able to get UiPath to scroll through the entire dataset one page at a time. You'll have to use logic to eliminate the metadata rows. But if you can drop into javascript, it will be so much easier)

How to highlight Outlook contacts

Is there a way how to display some contacts from Outlook's contact list in different manner?
So far I've seen, that there is quite some customization available for Office applications, however I haven't seen anything even remotely close to this functionality.
No, there is no way to display Outlook contacts in a different color.
Well, indeed this is what I found - it is possible only via adding of the new AutoFormatRule to the Outlook.TableView.
Sample code would be something like:
Outlook.AutoFormatRule autoFormatRule = tableView.AutoFormatRules.Add("My own rule");
autoFormatRule.Font.Bold = true;
autoFormatRule.Font.Strikethrough = true;
autoFormatRule.Filter = <filtering>;
tableView.Save();
tableView.Apply();
For filling in 'filtering' part one can use DASL Queries
But I still need to figure out what to do with the non-list views.
I can suggest only one possible way - replace the default folder view with a custom form where you can display entries in the way you need. See Creating Adjacent Windows In Outlook for more information.
Also you may consider using Add-in Express. They provide such layouts out of the box. See Advanced Outlook view and form regions.
Note, you can use any .net controls on top of custom forms.

rdlc-repeat data in report header across multiple pages

I am using ssrs 2012.
How can I repeat username in the report header? ReportItem doesn't work if the report spans across more than one page.
I was told to use Internal parameters but there is no such option with rdlc.
Can this somehow be done in codebehind?
Thanks
I am a bit confusing about your problem.
Just add a page header, rigth click on report design surface, insert->page header:
Add a text box and set the expression value to the following built-in field
You should get something like this in every page:
Note I am using rdl but built-in fields is available for both RDL and RDLC.
Let me know if this was helpful.

Filter Report2, based on drilldown value on Report1

I have a single Business Objects report with 2 tabs, Report1 and Report2.
I am trying to create a hyper link from Report1, so that when clicked it opens Report2 and filters to show the 'Status' value that was clicked.
The below link opens Report2 ok, but does not filter based on the status clicked in Report1
http://boshr.xxxxx.net/OpenDocument/opendoc/openDocument.jsp?iDocID=122706849&sType=wid&sReportName=Report2&sRefresh=Y&sWindow=Same&Request Status (SR)=([Request Status (SR)])
Please could somebody help mw with the correct syntax?
Look for the manual regarding OpenDocument functionality (e.g. Viewing Documents Using OpenDocument) on help.sap.com for a full reference on the OpenDocument parameters. Make sure to download a manual that corresponds to the version of BusinessObjects you're using, as the available parameters tend to differ from version to version.
Also, make sure that you've encoded your URL, otherwise it won't work. If you're using Web Intelligence, the function UrlEncode() will do this for you.
One last tip: if you're using the (D)HTML viewer for Web Intelligence (or Interactive Viewer as it's called in some versions), you can use it to construct the URL for you through a GUI. Have a look at the tutorial "Create a link between documents (DHTML client)" for more information.

howto create a devexpress GanttView like MsProject, with auto layout of dependencies

I really need help for creating a DevExpress XAF Windows application having a GanttView with special abilities including;
auto arranging of dependent appointments
resizing on holidays/not working times
hiding holidays/not working times, showing only working time intervals
please help, thanks in advance.
I will probably get hit with a stick over the head for "me too answer" but I have this task on my list for near future as I am working on something that needs to offer this functionality.
This is how I was going to approach this:
1. create BO to hold project definition or a query of some sort. Goo example to follow is how report module BOs are stored in the database.
2. create win or/and web editor for this type of business object.
3. the editor will contain either chart form charts module or scheduler view in gantt mode (depending on what you need)
As i get to this task myself I can provide more details or share an example.
here are some links to look at:
`
[http://www.devexpress.com/Support/Center/Question/Details/Q357411]
`
Main consideration for choices you have to make:
do you just need to display the view or interact with it too (chart control vs scheduler)
do you have to deal with source of the data that already has some schema you have to follow or do you have ability to model data as you want.

Resources