how to configure two sap fiori tiles target same application but each displaying different view of application as home page - sap

I have created a custom fiori application and deployed it to abap repository.Now I have to create two tiles.
1.one for displaying the record.
2.other for creating the new record.
Both the pages(display and new) are created in different views in same application.
can I set the first page in first tile and second page in second tile as home page while launching,without creating the same copy of project again.

Another option is to have 2 differents target mapping parameters on the tiles and use this.getOwnerComponent().getComponentData().startupParameters to retrieve them.
This way you can read the parameter and choose what to do.
However as suggested by user6177399 the guidelines for edit and display view would not suggest that.

Related

how to prevent exposure of Notes views from browser

How can I prevent that the default views are exposed in my Domino application? is there a special $$form for that?
It seems my application now and looses it web launch property
You can hide all views from web. If it's an XPages application, all views are accessed server-side so never need to be accessible from browser.
You can create a form called $$ViewTemplateDefault and leave it empty. All views opened from web (with for example the command ?OpenView) will then just display an empty page.
There are a couple ways to do that. One is with ACL entries. The other (which you refer to) is to create a form called $$View Template for [View name] For example, if your view is called All documents, the form would be called $$View Template for All Documents. Just leave the form blank, or put some static text on it ("Access Denied" perhaps.) You should also have one called $$ViewTemplateDefault which will cover any views you haven't explicitly protected.

Hiding specific columns within a custom HTML Rally app using the SDK

I'm writing a Cardboard app using the AppSDK within a Custom HTML app. So far, it is displaying properly (rendering all columns, column headers).
Is there a way to target and hide certain columns and their headers from within the Cardboard app code? I can hide them using their CSS ID's.... However, this occurs after the app has rendered and results in a bit of an eyesore as the original app width will not resize.
TL;DR Rally Custom Kanban board (AppSDK) contains 6 User Story states. I want to hide the second and fourth states while still showing the other four.
There's an example in the docs that show how to create a board that has a specific set of columns: https://help.rallydev.com/apps/2.1/doc/#!/example/specific-columns-board
In that case it's doing Owners for columns and some extra stuff with custom rendering of headers, but the guts of it is specifying the columns config to the board, which is just an array of config objects which will be used to instantiate Rally.ui.cardboard.Column objects.

Sensenet: Pagination on Document Library

It is possible to define pagination on document library?
I have a document library with more that 10000 documents... when I open the library occurs an timeout.
Actually SenseNet already does this! They just don't deliver it in the standard list control. If you open up the PRC and navigate to /Root/IMS/BuiltIn/Portal you'll see a list control with paging. The code can be found at /Root/Global/renderers/UserExploreGrid.ascx as User Control portlet. You can copy the code and change it to meet your needs.
Our company prefers to create User Control portlets and use Datatables with calls to the SenseNet OData API using skip and top to deliver pages.
Finally, given that SenseNet Content is stored as a tree structure (in SQL!), you can move the Content after creation so that data is organized hierarchically. A common solution is to take the first letter of the DisplayName and create a sub-folder from that letter, thereby reducing the number of items at a single node.
Here's what the paging looks like:
The short answer is no. Right now there isn't a built in functionality for that.
The long answer is that you can make a pagination yourself. One of the core member of sensenet made a grid where you can use pagination. It won't work with the current free to use releases because they lack the js files she used. But the idea behind it, is using a custom view. Which you can achieve by adding a system folder named Views under a the Document library and adding your custom view there.
You can use this grid for Explore, just follow these steps:
Go to the Explore action page, and switch editor mode on the PRC.
Place a ClientContext portlet (this can find under the Portlets->Application section in the portlet picker dialog) to the Wide column. Set portlet (client context porlet) properties, Apparance to None. It is a technical portlet, which allow get the CurrentContext in javascript. This is a very important element to work with this grid. The Grid use the client context.
Place a UserControlPortlet (In the portlet picker, Portlets->Application section) to the Wide Column.
Set portlet properties:
4.1. Portlet title: <%$ Resources: PortletTitles, Items%>
4.2. User Control path: /Root/Global/renderers/UserExploreGrid.ascx
Checkin Page modification on the PRC.
Enjoy your pageable explore portlet.
Keep in mind that this grid is specifically designed for users, so they will miss actions in the top menu. These must be handwritten. Then I suggest you copy the UserControl ( /Root/Global/renderers/UserExploreGrid.ascx)
and then put the action list on it . You can read more info about action list here: http://wiki.sensenet.com/ActionList
Br,
maros

Openerp 7 access right layout

i have created security access for the user's. after creating i got the view like below image.
By giving permissions in .csv file like 1, 1, 1, 1 as shown in below image.
My Question is this permissions should be bring to front end. the admin can give access rights/permissions to the different users. Can we bring that permissions to front end?
Admin will directly file access like this.
And can we change the layout like below image.
How can i do this.
Thanks in advance
Your problem will be easily Solved using Creating the Controller in ODOO 8.0
You must have to Follow the Below steps for creating your layout As you want.
Create the new model class (in the form of object) in your module.
the class contain the login of get the detail of ir.model.access (which is base object of odoo)
Create the View file For displaying the your layout in the form of web page
the view file use the bootstrap classes for designing your web page layout.
the view file use as the rendering the detail of ir.model.access object
hear the Layout is based on Qweb Template as well as the web page menu for displaying your data in your webpage
Finally run the controller in your browser and see the detail of your access rights in the form of webpage

Backbone Structure Tips

New to Backbone and wondering if any Backbone experts can lend their advice as to how to structure the following application:
Users log in to view the Dashboard. The Dashboard has 6 Panes and the Content of each Pane is determined by each User's Preference List (a Backbone Model with attributes panelone: contentA, paneltwo: contentD, etc...)
Above the Panes is a horizontal list of Content types. The User should be able to drag and drop the Content type over a Pane to save it and render the Content in that Pane immediately.
For example, if ContentF dropped on Pane3 then Pane3 saves ContentF ( Model.set('Pane3: ContentF' ) and updates itself with ContentF's template.
Specifically, How do I divide up this functionality between Router, Views and Templates?
Thanks,
AC
I can't consider myself a Backbone expert, anyway that's my two cents.
I suggest you to use Marionette, a framework built on top of Backbone that ease the things a lot.
You could setup your dashboard view as a layout, and each panel as a region of that.
This way you could update each panel's content without affecting the others and have all the events and stuff attached to your old view be cleaned up by Marionette's build-in memory management.
Also I don't think your router should be too affected by a change in panels content, it should just render the view assigned to that specific content, so it just has to be able to access the list model. Each of this views will have their specific template and that's all!