Can I Open a chart with URL in DynamicsCRM? - dynamics-crm

I want to open chart with a URL in DynamicsCRM online.
I understood how to open forms, views and reports from MSDN below.
https://msdn.microsoft.com/en-us/library/gg328483(v=crm.7).aspx
I can do it when I open the view with the URL and select the cart tab on the right.
But I want show the chart immidiately after the page loaded.
Is there any a nice way to open a chart directory?
Or would it better to create a report including the chart?

I am not aware of a way to force the chart pane to open when linking to a view in CRM.
Instead you could create a dashboard (which can contain both charts and views) and link directly to the dashboard.

Related

Having tabs and none tabs regions in the same container

I have the two classics areas toolbar and content.
My problem is that I want to have different forms / areas that have tabs in the same region.
One of the areas / form have a document search form and when you click on a row in the search result a document is displayed in a new tab. The user will see a tab for the search form and a tab for each document.
when I click on the menu to show another form e.g. Administration I want to show the administration form in the same content area and when I i click on the search document menu I want to go back to my previous search result.
Do I create a form without content with only and area for the search form? or can areas coexist?
I am using the prism navigation framework.
Right now I have created a search form with only a tabregion and nothing else. The problem is that prism can't navigate to the searchform region before the form is loaded. Thats not a big problem, I can use the regionmanger to load the form if it's not loaded. I just wonder if prism somehow can handle this without custom code.
As commented above on the question, the scenario you described would be a particular Region on which you want to show an Administration or a Search View, and multiple tabs aside when showing the Search View.
You could accomplish this scenario by having a MenuRegion where Administration and Search Views are registered, and defining then a SearchTabRegion on a TabsControl in the SearchContentView where you would add each TabView.
You may find more related information on the UI Composition Prism Guide chapter:
7: Composing the User Interface Using the Prism Library 5.0 for WPF
Regards.

Sitecore: Sublayout with preview image

Can anybody tell me how to add a preview image when i am selecting a rendering while adding a component in the Page Editor? I just still have there a default sublayout icon. I have the Nicam demo site from Sitecore and there are some images, but I am not able find where I can select that.
When you go to your Sublayouts (/sitecore/Layouts/Sublayouts or Renderings) you can select yours, go to the Appearance section and go to the Thumbnail field. Click the Take Screenshot button there.
You can then select the page you want the thumbnail to be taken from in the Item field, which device to use and click Take Screenshot. After this the page will show up where you can select a section of the page to be used as the screenshot
[Update]
I decided to write a blogpost on this: Read it here

Partial refresh/reload in a repeatcontrol of a xpage

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.

How to make common master page in BIRT reporting?

How do I make a common masterpage in BIRT? I'd like all of my reports to use a common master page, so that I can make a change in one place and all of the reports that use that master page automatically get the change.
Create a masterpage in a BIRT library and then have all of your reports use that masterpage. Here's how:
Open the BIRT report designer
File -> New -> New Library
In the Outline pane expand Masterpages. Rename the masterpage to something meaningful - you'll want to do this in case you create multiple masterpages in the future. For example, you may want one masterpage for Portait reports and a different one for Landscape reports.
Save
Open a report which you want to link to the common masterpage
In the Resource Explorer pane expand Shared Resources -> your newly created library -> MasterPages
Right click on your masterpage -> Add to Report
Delete the old masterpage in the report
Your report will then be linked to a common masterpage - if you change something in the masterpage, the report will automatically get that change. You won't have to change the individual report.
As an addition to jrullmann's answer:
Usually, the masterpage should contain some dynamic data, such as the title of the report, and in some cases part of this data resides inside the DB.
To achieve this, you can for example create a Data Set "Masterpage" which resides in the same *.rptlibrary as the masterpage.
The DS query has the form
select ? as title,
...
from DUAL
and has parameters like title, ... .
Bind the header and footer grid of the masterpage to this DS.
Then, in your report, reference the master page and change the DS parameter binding in the header and footer grid.

How to add a chart in iReport Designer 4.1.2 to my designer view?

Problem
I have created a blank report (mychart.jrxml).I cannot figure out how to add a chart to my blank report in the designer view.
What I have tried
I went into the samples folder under the iReport folder of the installation and opened up one of the samples that has a chart. In that example (charts.jrxml) the chart definition is expanded in the Summary section on the left tree navigation bar.
So I go to my blank (mychart.jrxml) file and try to right click "Summary" to see if I can add any type of component but I cannot.
UPDATE
I have noticed that in the main navigation bar the the Palette menu item under tools is empty.
Does anybody know how? Do I have to get the pay edition to accomplish this?
Thanks,
Official answer: Click on Window->Palette This will open up a Palette Widnow on the right

Resources