Dynamic Nav iView refreshes all visible iViews???
EP6 SP2 Patch 4...
I have an JAVA/JSP iView in the dynamic nav area.
This iView has a number of dropdown lists.
When the user selects a value in a dropdown list, ALL of the iViews (everything below the masthead, breadcrumbs) refresh.
Does this behavior make sense?
I can't think of any of the code that we have written would do this. We are not doing anything any EPCF stuff. Just setting session variable values based on dropdown selections.
As I understand it, this is because the DynamicNav area contains the content area as an iframe. If you want to have a not-reload behaviour, you'll need to add an iframe to your iView that is invisible and send the requests to the server from within this iframe, steering the iframe with javascript.
Regards,
Armin
Similar Messages
-
EP6: Switch positions of Detailed Nav and Dynamic Nav iviews?
By default, the Detailed Navigation iview is, from the top of the screen, first, then the Dynamic Navigation iview.
Is there any way to switch this?
I tried changing the layout of the Desktop Innerpage (from the content list of the Default Framework Page), but these two iviews aren't even visible in the Edit Layout Screen.Hi Eric,
you should be able to see these iViews there. Just continue clicking on Edit (select Desktop Innerpage first and then click on edit). In the next screen you should see several iViews (among them Detailed Navigation and Dynamic Navigation) now click on Layout and you should be able to change the position of these two iViews.
Hope this helps,
Holger. -
Understanding Dynamic Navigation iview.....
In MSS, I have the following workset in my role...
->Team (workset)
---+ Team (webdynpro proxy page)
---+ Employee information (folder)
---+ Employee Working Time (folder)
etc....
The "Team webdynpro proxy page" has an iview ,"Services", assigned in "Dynamic Navigation" but there is nothing particular about that iView itself. However, all folders (and their contents) below the Team webdynpro proxy page appear in the Dynamic Navigation panel (like "Employee information" and "Employee Working Time"). I do not understand the connection between the dynamic navigation iview and how all folders in that workset know to display in that dynamic navigation area. There seems to be no explicit assignment. How does that work?
edit: a bit more info....the "Services" iview is part of the Common Parts business package and based off the "related services" iview template. Still not sure how it "knows" to display the objects below that page that has it assigned as dynamic nav.Did you blog about this solution? If so could you direct me to the blog? We need to add numerous links to outside URLs in Related links. I need to order them somewhat differently than alphabetically.
Thank you,
D. Maupin
University of Kentucky -
Pass parameter from dynamic navigation iView to WebDynpro iView
Hi All,
I know there are a lot of threads dealing with passing paramters from EP to WebDynpro using EPCM but actually I didn´t find a solution for my problem.
I have in the dynamic navigation area of the SAP Portal an iView based on a JSP dynpage. In the corresponding JSP I fire an EPCM-event:
EPCM.raiseEvent("urn:test.de:wochenb" , "passDataToWebDynpro" , evtData);
In the content area there is a WebDynpro iView. In this WebDynpro-application I subscribe to the event in the wdDoInit-method of a view:
WDPortalEventing.subscribe("urn:test.de:wochenb" , "passDataToWebDynpro" ,wdThis.wdGetDataFromJSPDynpageAction());
and I have an event-handler:
public void onActionDataFromJSPDynpage(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
//@@begin onActionDataFromJSPDynpage(ServerEvent)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
manager.reportSuccess("EPCM event testing " + dataObject);
//@@end
My problem is now that the event is fired correctly by the JSP Dynpage but the event-handler of the WebDynpro is never executed.
As info: the domain of the J2EE-Server the webdynpro-application is deployed to is identical to the J2EE-Server the portal runs on.
Can anybody help ?
Thanks !
BerndHi All,
I found the solution by myself.
For information: Click in the dynamic navigation fires the event und forces the content afterwards to refresh. During the refresh the WebDynpro subscribes to the event in the wdDoInit-Method. This is to late because the event is fired before the refresh.
My solution is to use a setTimeout before the event-triggering in the dynamic navigation iView.
Regards,
Bernd -
Issue in KM Nav iView with the customized Layoutset after upgrade7.3
Hi Experts,
Do we need to do any post configuration of customized Layout set after upgrade to 7.3?.All the KM Navigation iviews which is using the customized Layout set is throwing error.Able to see the content of the KM folder in iView but when i click on the link it throws
403
The requested operation is forbidden for this resource.
stack trace
com.sapportals.wcm.protocol.webdav.server.WDServletException
at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handleRedirectCase(WDGetHandler.java:860)
at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:355)
at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:280)
at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:846)
at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:344)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.portal.prt.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:99)
If i remove the Layout set from the iview then i could able to access the links in the KM Nav iView.
I tried to import the Layoutset from another development environment,but its throwing exception
ConfigException: while trying to invoke the method com.sapportals.config.service.impexp.IConfigImport.doImport(com.sapportals.config.service.impexp.Scenario) of an object loaded from field com.sapportals.wcm.control.config.ConfigImport.configImport of an object loaded from local variable 'this'
If i Navigate to System Admin->Knowledge Management->content Management->User Interface->Settings->Layout set i am getting the below warning at the top
The following configuration objects have some invalid or problematic properties: "pccMimesSelector"
If any of you faced these issue.Please provide valuable suggestion
NagaHi Jitendra,
Kindly see the reply Johan has given.
<i>But I thought of something else. If you only want to use this for showing a document on the logon page, perhaps it is easier to create a portal component which retrieves the content of the KM document using the service user, and just copy this content to the output stream of the response. Then set the authscheme of this component to anonymous. You won't have any security risks in this approach, because anonymous users have no way of accessing KM content.</i>
I guess that should solve your problem. You can create a component with AuthScheme as anonymous and in the component, read the KM doc using a service user. Then you can display the content to the end user.
Hope this helps you.
Regards
Ranjith -
Dynamic Navigation iView ordering
Hi,
We have a problem with ordering iViews in the Dynamic Navigation of pages. We had this issue during SP11 and SAP was upposed to fix this in SP16. We have upgraded to SP16 now. Just want to confirm that this problem is not solved yet (atleast not using the sort priority).
Also, are there any workarounds to acheive this?
NiravHi Nirav,
Have a look at Configuring the Sorting of Dynamic Navigation iViews:
http://help.sap.com/saphelp_nw04/helpdata/en/a4/76bd3b57743b09e10000000a11402f/frameset.htm
Let me know if it helps,
Cheers
Jim -
Recover a dynamic navigation iview
Hi. I have closed a notifications dynamic navigation iview and I can't recover it. I don't know if I have to configure something.
Thanks a lot!Hi Roberto,
What do you mean by closed a notifications dynamic navigation iview.Actually wht did you do ?
Could you elaborate ?
Thanks,
Samta -
WDPortalNavigation : Hiding Dynamic Nav Panel in popup window
Hello,
I am using Absolute Navigation - Portal - SAP Library to open a specific page on Portal from my Web Dynpro Java application.
Platform:
Portal : EP CE7.3 Ehp1 SPS9
NWDS: CE7.3
In target Portal page that I am trying to open in new window, there is some content added as "Dynamic Navigation". And this Dynamic Navigation panel is by-default expanded in this popped up window.
Is there any way I can set it to 'collapsed' by-default in this popup window?
I tried using all navigation modes available. But couldn't find any option to do this.
Code extract:
WDPortalNavigation.navigateAbsolute(
actionURL,
WDPortalNavigationMode.SHOW_HEADERLESS_PORTAL,
"height=700,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no",
taskWindowName,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
targetTitleText,
null,
null,
null,
true,
true
Please help.
Thanks & Regards,
Amey MogareYes. I'm using a classical frameworkpage. I opened it >Desktop Inner page > Dynamic Navigation iView > set "Initial State of navigation panel = closed".
Saved everything and retried opening the page via WDPortalNavigation.
Navigation panel was still expanded when this window opened. -
Hi All,
I had a problem with a non displaying content tile but it appears when i do a "refresh all (ctrl + R)"
I would like to do it automaticly
have you some idea ?
Regards, JulienHi,
When i try to include code in the tileset the system erase it so I have not do that on a tileset but on the "CRMPHA_comnotedetail" tile in the method "onload"
I have monitored it by messagebox.show("message")
Here is my piece of code :
Private Sub mCore_onLoad() Handles mCore.onLoad
Dim TerrAct As String
On Error GoTo ErrHandler
TerrAct = _unwind(gServices.bol.UserDataDictionary.GetData("TERRACTIVE"))
If (TerrAct = 1) Then
ctrlCRMPHA_TERRID.visible = True
ctrlCRMPHA_TerritoryIDLong.visible = True
ctrlCRMPHA_TerritoryIDLong.[readonly] = True
End If
SpellCheckInitialize()
If (Not (aCRMPHA_BONote Is Nothing)) Then
If (Not (aCRMPHA_BONote.bo Is Nothing)) Then
aCRMPHA_BoNote.bo.vResourcePath = gServices.getResourceFileName("LocaleIDList")
If (aCRMPHA_BONote.bo.GetAttributeProp("Notes") <> BlAttributeAccessType.blAttributeReadOnly) Then
ctrlSpellChk.enabled = True
End If
End If
End If
messagebox.show("begin")
aCRMPHA_BONote.bo.RefreshEx()
aCRMPHA_NoteCollection.bo.RefreshEx()
messagebox.show("end")
ErrHandler:
End Sub
When i tries to acces it the first messagebox appears but not the second....
Best regards -
Flex 3 project, all visible content disappears
This is a bit hard to describe. It's a complex Flex app for a realtime multiplayer game using socket connections. Previously, everything worked fine, but after some recent changes there is a point where all visible content disappears.
What is REALLY odd is that this ONLY happens when the SWF is embedded in an HTML page. If the SWF is loaded directly by the browser, either locally using file:/// or served by a webserver (i.e. http://localhost:8080/swfs/MySwf.swf) then the SWF works as expected and transitions to the next state without a problem.
Also of note is that no error is thrown and, yes, I have the debug version of flash installed and can see popup errors by intentionally causing them to test.
I'm at a loss for how to debug this. I started by commenting out all sections of the code that had recently changed, but the problem persisted. Since then, I'm shooting in the dark, commenting out sections and testing. For a bit, I thought the problem might be with the embed code itself, but I'm using the default generated by Flex Builder and it has not changed in the past 10 months that the last version of this SWF was working. I've tried using every alternate window mode, but that didn't change anything.
I've been testing mainly in Safari 4 (OS X), but tried Firefox 3.5 to confirm that the problem wasn't mac-browser specific, and tried Firefox 3 (Ubuntu) to confirm it wasn't OS specific.
Does anybody know, on a high level, what could cause this kind of problem? Specifically...
1) What can cause the display to suddenly clear?
2) What differences are there between running the SWF directly (even loaded from a webserver, so it's not local content) that could affect rendering?
3) Any other advice on things to try?
Attached are two images:
(a) the one with content elements is the desired effect, and was the result of loading the swf directly, and
(b) the one with just the plain background image is the result at the same step but embedded in an HTML page
Thanks!Thanks for the suggestion Barna. I've been doing that, though, and discovered that the code continues to run in the background, not having hit any error. I literally had logging statements between every line of code in the function where the content disappears, and every logging statement was output as it should be.
So, I tried executing a different function that does nothing but change the current state instead, and the problem still occurred.
The keys points thus far are:
(1) no error messages thrown
(2) no errors in the AS3 code
(3) but a call to currentState = "lobby" (which is the next desired state) causes the contents of the display to vanish
(4) again, only happens when embedded
If there is an error, it seems to be in the state change... which is MXML, so I can't log output there, but I'll see if commenting out particular element(s) or changes will shed some light on where an error might be... -
I am using mutiple select queries to fetch data from Project Server 2010 DB(its sharepoint DB) and these queries fetch data in Excel BI report by establishing connection with DB using instance name and all. I have enhance all these select queries and data
is being fetched in secs. but when more than one copy of same Excel BI report is refreshed using 'Refresh All' option, then these select queries cause blockage on DB.
Please let me know mitigation for this blockage issue.
Should I use begin transaction and commit transaction statements/ shared lock statements.
please replyHi,
run same query at the same time? -
Excel 2007 = Refresh All = Error Message "Initialization Data Source Failed"
Excel 2007 => Data Tab - Refresh All => Error Message "Initialization Data Source Failed
2nd Error message:
The following data ranged failed to refresh: ExternalData1 - Continue to refresh all
How do I resolve this? Trying to connect to Oracle DB environment 12CWhat will happen if you rebuild the PivotTable/Table ?
Make sure the external database is available and the Oracle Provider for OLE DB is installed correctly.
Wind Zhang
TechNet Community Support -
In C# is there a way of refreshing query in EXCEL (REFRESH ALL)
Hi All,
Need C# code in SSIS Sript task which should refresh all excel data which extracts from a table using Microsoft query.
Can anyone help at all ?
Thanks
Sri.TummalaHi All,
Found the code to refresh excel data the above code is saving before refrshing so I added application wait for 20 seconds so that it refrshes first than saves it.
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
using Microsoft.Office.Interop.Excel;
namespace ST_53932a75e92c44f086535fc017a56e6a.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
The execution engine calls this method when the task executes.
To access the object model, use the Dts property. Connections, variables, events,
and logging features are available as members of the Dts property as shown in the following examples.
To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
To post a log entry, call Dts.Log("This is my log text", 999, null);
To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
To use the connections collection use something like the following:
ConnectionManager cm = Dts.Connections.Add("OLEDB");
cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
To open Help, press F1.
public void Main()
// TODO: Add your code here
ExcelRefresh(@"C:\Documents and Settings\ST84879\Desktop\ROBERT_DATA_SET\TEST.xls");
Dts.TaskResult = (int)ScriptResults.Success;
private void ExcelRefresh(string Filename)
object NullValue = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.ApplicationClass();
excelApp.DisplayAlerts = false;
Microsoft.Office.Interop.Excel.Workbook Workbook = excelApp.Workbooks.Open(
Filename, NullValue, NullValue, NullValue, NullValue,
NullValue, NullValue, NullValue, NullValue, NullValue,
NullValue, NullValue, NullValue, NullValue, NullValue);
Workbook.RefreshAll();
System.Threading.Thread.Sleep(20000);
Workbook.Save();
Workbook.Close(false, Filename, null);
excelApp.Quit();
Workbook = null;
System.Runtime.InteropServices.Marshal.ReleaseComObject(excelApp);
Thanks All
Sri.Tummala -
Why does my artwork keep disappearing from my ipod? It's all visible in itunes, but on the ipod nano it when I copy over new albums with artwork, the artwork on the albums already on the ipod lose theirs, although they retain the artwork if viewed through itunes.
In case it matters, I don't "sync" my "library". I have a I have a PC and copy over directories containing albums of MP3 files by dragging them onto the ipod with itunes. I also tried pulling over only the files and not the directories.OK, so I decided that maybe if I "sync" my iPod instead of just copying stuff to it at will, that maybe it would fix the problem. I did a "restore", wiping out the contents. I set up a "playlist", and put everything that I wanted on the iPod into the "playlist". Then I "synced" the "playlist" onto the iPod. Every song and album now had the proper album art. I could live with this. Then I added another album to the "playlist", and "synced". The new album was now on the iPod with the correct artwork. The albums that were already on the iPod now either had their appropriate artwork, no artwork, or the artwork from the other albums that were already on the iPod, with no rhyme or reason as to which was which. AARGH. I wiped it out and re-added the now-explanded "playlist" and "synced" again, and every album had the right cover. I guess the only thing to do is completely replace the contents of the iPod any time I want to add or change anything, or forget about artwork.
-
Running a "Refresh All" process for our BI reports created with Excel
Hi folks,
Using oData within Excel 2013 with Project Server 2013 Online.
In previous versions of Project Server, we ran the process in PWA>Server Settings to get the OLAP cubes to regenerate periodically.
Now, in Project Server 2013 ONLINE there are no cubes to generate. As you know we access and create reports using oData via Excel. No problem!
Can we spare the users of these reports from having to manually regenerate their reports by doing a 'Refresh (All)'?
Instead I was thinking maybe to create and run a script (VBA, etc.) and/ or schedule a task that will open the Excel file and perform a Refresh, save and close the file.
Any recommendations, opionions or suggestions appreciated?
\Spiro Theopoulos PMP, MCITP. Montreal, QC (Canada)Spiro,
To have a "Scheduled Data Refresh" on your BI Reports in Project Online, you need Power BI for Office 365. The exact steps are listed here: http://ppmblog.org/2014/04/20/background-refresh-your-project-online-reports/
This is the recommended way, if the license cost is not a big deal for your organization.
If that is not an option, then I guess, the next best method is to create a desktop task to open and publish the reports.
Cheers,
Prasanna Adavi, Project MVP
Blog:
Podcast:
Twitter:
LinkedIn:
Maybe you are looking for
-
While transferring several files to the G-Raid, the G-Raid device locks up with the following warnings: "The Finder can't complete the operation because some data in (whatever file) can't be read or written (Error code - 36)." NOt sure this is a G-
-
Flash Not Working on Mac OS X 10.6.4
I have been trying to view Adobe Lightroom 3 Tutorials on the Adobe site ("Adobe TV") and the Flash movies will not play on either my iMac or my MBA - I get an empty box where the movie should play, but no error messages at all. These movies play jus
-
ORA-016553: unable to extend table LDS1002.AL_LANGTEXT by 128 in tablespace
Hi All, I've encoutered the following error in BODI when trying to save a file format: Error: Error when saving file format <name=CTIN_TEST> Cannot save <Text> for repository objet <Language Object CTIN_TEST>, Additional database information: Oracle
-
Problem with "Back" Button in pages loaded from Google search results
I am using Windows XP Home 32bit and Mozilla Firefox Ver 5.0 I do a search using Google and I go to page 3 of the returned queries (links) and then go to one of the sites from the search results. When I hit the return button while in the site chosen
-
Can't install the CC installer - error 201.
I'm trying to download a trial of Indesign and failing on this first step! Any suggestions? running on Win7 Ultimate x64 -Ian.