When I install the SBTPlayground database on our Domino 8.5.3 server and view it in the browser. There are no snippets displayed in the left column.
The snippets are present in the database.
And when I look in the Domino Designer I see such as in the snippetTree custom control
snippetDoc.getSnippetsAsJson() where snippetDoc is a Managed bean.
But I can not find which view is used.
In the console of the server there is no errors printed regarding this problem.
In the screenshot you will see the leftcolumn.
Login
Click Manage (on right)
Click Import / Export
Click New Import Source
Input the Name
Input the directory of {sbtsdk}/source/com.ibm.sbt.sample.web/WebContent/js/
Click Save
Go back to the Playground
It is fixed, by installing the XPages Bazaar project update site
Can you see any error in the Javascript console, using Firebug for example? According to your screenshot, the Dojo classes are not properly loaded, so the tree or the tab are not rendered.
Related
I have created an app using manifest editor where I have generated the ID and I have configured the personal tab to open a public website "https://www.ibm.com/in-en"
I have downloaded the zip of the app
I have uploaded the app to teams and the app is shown in teams
When I click on the app and then click open to load the personal tab, I get the issue as mentioned in the image:
Could you please check if you have the "showloadingindicator" field set to true in your manifest? Could you please try removing it and uploading the app manifest?
I had the same issue, and removing the "showLoadingIndicator" fixed it, but while it sorted out the immediate problem, it didn't help understand why it was incorrect.
tl;dr : you need to call microsoftTeams.appInitialization.notifySuccess() inside your tab, but if you want more info, see my question/answer over here: Personal Tab Renders Fine, then a few seconds later shows "There was a problem reaching this app"
This wouldn't apply in your case as you're pointing to a public website, but if it was a custom tab, then the fix would help and also allow the "loading" indicator to be used.
I want to show a task module (not url) while bot installs (with tab) in the teams. Something like Text does, but a bit more interactive with drop downs and all.
I have referred to the link to create deep link for tab and paste the link here, in app-studio manifest editor:
But this doesn't seem to work. Only an empty pop up shows following this procedure.
Can someone correct me, where I am going wrong! TIA!
This "Text" screen is not showing a Task module, it's showing a custom Configuration page for the app's Tab installation. When you create an App that includes a Tab, you have the option of creating such a "Configuration" popup that gives the user the chance to configure how your tab will actually work. See here for more: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-tab-pages/configuration-page
Within that configuration page, you can show whatever web content you'd like. Showing an Adaptive Card is a bit of a strange scenario considering it's a web page, but you could conceivably do this using the adaptive cards js library inside the page (https://www.npmjs.com/package/adaptivecards)
Is there a way to keep Firebug on a single page, so that when I switch pages it remains on the page I want it set to?
For example, I'm working on a project and I get an error that I want to search for on Stack Overflow, but when I navigate here, the console changes to reflect this site. I'd like to stop that from happening.
There is no option to "pin" a page's data in Firebug (as of version 2.x). As far as I know this also doesn't work in any of the browser built-in dev tools.
Though the simple solution for your problem is to open the other page in a separate tab or window. Doing so keeps all the data of the page saved when you switch back to the tab containing your project's page.
Note that Firebug's activation model is based on URLs following the same origin policy. I.e. if you open it for your project's page, it will always get opened for your projects page, even on other tabs, but not for any other site.
I've found it useful to split the tab of interest off into a new window and to activate Firebug on that window. That way I can continue using my original tab collection/window without it changing as I link-hop.
I am trying to start with odoo. One of the most import thing for us would be to generate different layout for sale orders.
I've started with this document: https://github.com/odoo/odoodays-2014/blob/master/v8_reporting_engine/index.rst
It is from the "odoodays 2014" and shows how to customize an existing report. This works fine. I don't understand the points under "Generic / particular report".
Now I'm lost trying to add a new report (starting with a copy of the exisiting report) with a custom template.
I've tried to add a new item in the report view in settings, but I can't add any linked qweb views (I've added a new one, but it didn't get a new ID).
I've tried to create a copy in the views directory of the addon but it didn't help.
Is there any tutorial for this ?
Is there somebody who can give me some pointers how to add a new report ?
After searching around I've come to this solution. I've translated all the menu headers from German, because I'm using Odoo in German.
reports are listed in Settings / Reporting / Reports
you can click one of the reports
if you edit one of the reports you can click on "Search for linked QWeb Views" - you can click and change these views. They are in HTML and are used for the data in the reports
New reports are typically added with a plugin.
If you would like to change the report with the website editor you can install the website builder. If you change one of the reports from PDF to HTML (in Settings / Reporting / Reports) you get a popup when you're generating the report.
In this popup you can change the report template. With this you can change the template with the website builder tools.
These reports are saved in the database in the table ir_ui_view. If you change to another database they still have the original reports (this was my big fear - that changing the reports changes them for all databases).
Header and footer are still changed in the company settings with RDL.
So basically everything from the odoodays-2014 document is working like they've showed on this website - it was just pretty hard to find out how these things worked.
I've created a customcontrol with a repeatcontrol showing a panel for each related document (of a notes doccollection). The xpage arround the cc is bound to a maindocument.
The panel in the repeatcontrol contains some inputfields, a fileuploadcontrol, a filedownloadcontrol and an action-button.
If the user select a file in the fileuploadcontrol an press the button, then the document bound to the panel is saved and an notesagent replace the old attachment with the new selected.
After that, the current panel should be refreshed, so that the filedownloadcontrol shows the right attachment for download. But only the current panel should be refreshed, not the complete xpage or other panels in the repeatcontrol (context.reloadPage is not the solution I need).
Any idea?
I suggest you put all your code in the button and then partial refresh the panel in the button.
But I suspect that the question refres to that you cannot save a file attachment using partial refresh. which is true. there are a few solutions to this, like using an iframe. do a google search on that
An example for using iframes is described at the Domino development wiki. The mentioned approach is used in the Lead Manager X example at OpenNTF.
However, depending on whether or not that fits your needs, you may also consider using the XPages Exension Library, specifically the Dynamic Pages therein.
did you try giving the partial refresh id for the panel containing the document? If that doesnt work.. get the handle of the particular panel in clientside and refresh it. Panel inside repeat can be identified with its index.