Issue in Web Content Viewer Portlet in websphere portal 8 - websphere-portal

What I did:
I have created one Authoring Template with one Rich Text, one Presentation Template, one Site Area and one Content Item and then I added these contents on one page (say TestPage1) by using Web Content Viewer Portlet.
Now I have to do same things as step 1, but here the Content Item is a simple Text Field.
I added these contents on another page (say TestPage2) by using Web Content Viewer portlet.
But the problem is that the contents of TestPage1 (RichText on TestPage1) is completely replaced by contents of TestPage2, which means when I added web content viewer portlet on any page and if I configure it then this new configuration setting is updated on every previous page.

When I added web content viewer portlet on any page and if I configure it then this new configuration setting is updated on every previous page
I suppose you tried change Web Content Viewr portlet settings in Configure mode. You should do it in Edit Shared Settings mode
Configure - applies settings to all portlet instances.
Edit Share Settings - applies settings to one portlet instance.

Related

Microsoft Teams - downloading a file from within a tab

I've created a configurable tab app and have side-loaded it into Teams. On the content page, I want to allow the user to download a file. Simply linking to the file doesn't work. When the user clicks the link, the content iframe redirects and goes blank. I've tested this in the web app version of Teams at teams.microsoft.com and it works fine. The file gets downloaded as you would expect.
If it makes any difference, the content page is hosted in SharePoint on a modern page using SPFx.

How to generate .xap files in silverlight

I have a silverlight application with 2 pages, first is "animation" and second is "transformation"
first page works well, but second display nothing and i think the problem is: i don't have any transformation.xap. I only have have the animation.xap in my "clientBin" data for some reason
So here is my question: can i generate a .xap file for my transformation page so it can works?
Both pages are stored withing the same Silverlight application.
If you want to switch between pages you'll need to either:
Create another project that contains the transformation page and
redirect the browser to the page hosting it
Switch pages by setting the application's RootVisual to the page you want displayed

DNN Session Variable Issues

I am developing skin in DNN 6.02.04. In my insidepage.ascx page how to handle the session variable?.Without creating usercontrol or module how can i set session variable?.
For Example
1st time if anyone went to this webpage http://www.solodyn.com/FORPHYSICIANS.aspx you get one dialogue box .In that dialogue box one button was there. if i click that button " i am healthcare professional". they set session not getting the dialogue box until my session close. In my developement website every page load i am getting that dailogue box again and again. How to use session variable in DNN Skin pages?
Thanks & Regards
Gopinath.R
Session is typically not recommended for use within DNN environments. I would set a cookie and then in the Skin file you could add logic that reads from the cookie using inline code in the ASCX for the skin.

Configuring a portlet has three different names

When i include a portlet in a page, i'm asked to customize the portlet.
Trying to do so, i have three options namely:
Edit Shared settings
Personalize &
Configure
What does each mean and How do they differ?
This is an old page but it still describes the differences correctly: http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wps/adcfgplt.html
In short:
Configure: Changes made here affect all occurrences of the portlet on all pages for all users. The administration portlets allow you to create multiple copies of the same portlet with different administrator level configurations.
Edit Shared: Changes made here affect a particular instance of a portlet on a page and apply to all users who view that instance of the portlet on that page.
Personalize: Changes made here are associated with a single user and apply only to that particular user who views the portlet on the page. Only that user can make that update.

dotnetnuke: can we create a master page?

Can we create a content managed master page in dotnetnuke?
eg. I want the right pane and bottom pane to be content managed, but to show the same thing across all pages.
Thanks
What you are describing is essentially what DNN calls a Skin.
A DNN skin is actually just an ASP.NET user control (ascx) that dictates page-wide or site-wide look and feel, which offers developers the same functionality as a Master page, except that it ties into DNN-specific elements and uses some DNN-specific user controls, such as menu/navigation, logo, breadcrumbs, login/user account links, etc.
Now, in order to add the ability to provide content management capabilities site-wide, you specify an area in your skin to place a module (let's say, a Text/HTML module). This area is called a pane. Once you add a module to this pane, in its settings you can tell it to appear on every page. This way, the module can be edited on any page, and its changes will be reflected on all pages automatically.
Check out DNN's site, as it contains a TON of documentation on how to do many common tasks: http://www.dotnetnuke.com/Support/Documentation/DownloadableFiles/tabid/478/Default.aspx. Under the Technical Documentation section, you'll want to grab the Skinning document (I believe it's a PDF).
DNN Modules can be set to appear on all pages by checking a checkbox in the module settings. However DNN does not use the concept of a Master Page. It injects modules (user controls) in containers on a single aspx page at runtime.
A Master Page would be a great addition to DotNetNuke you cannot replace content in a single area of the page. The whole page refreshes. For example if you have a menu and you only want the content of what you select to appear in a specific content area without refreshing the rest of the page you have to resort to third party modules that attempt to do that but usually fail. There are 'module wrappers' but all the ones I've tested have issues with modules that allow the user to edit content. Edit screens are usualy different user control files (ascx) that are launched when you edit the module content. Since the page refreshes with the new page you have lost your place. Those module wrappers work fine for static content and some other controls but not for all controls.
IFrames can be used (DNN has one) to trade out content but that doesn't get rid of the probelms mentione above. I'm heavily invested in DNN, running the UCanUse.com web site so this isn't a slam on DNN. I just thought I'd try to answer the quesiton with detail.

Resources