Adding links to custom ui's, into the workcenter view in PPM5.0 using nwbc
Hi Experts
I need to add custom developed webdynpros as links, in the workcenter view under Portfolio Management Portal Role.
Please guide me on how to do this on PPM5.0 using nwbc.
Thanks.
Regards
Khopotso
Hi Amit
I needed to add links to the left hand side of the navigation panel. This is done through the PFCG Role-Menu.
Thank you for you input.
Regards
Khopotso
Similar Messages
-
i want to copy and past 58 links from my IE favorites into the bookmarks toolbar...not one at a time. where's the folder i can copy these too?
== This happened ==
Not sure how often
== i want to copy and past 58 links from my IE favorites into the bookmarks toolbar...not one at a time. where's the folder i can copy these too?Firefox doesn't store the bookmarks as separate files in a folder, but uses a sqlite database file with the name places.sqlite.
You will have to export those favorites in IE to an HTML file and import that file in Firefox.
Bookmarks > Organize Bookmarks > Import & Backup > Import HTML : "From File"
See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox -
[svn] 3801: Link FxButton and FxToggleButton samples into the ASDoc.
Revision: 3801
Author: [email protected]
Date: 2008-10-21 16:19:17 -0700 (Tue, 21 Oct 2008)
Log Message:
Link FxButton and FxToggleButton samples into the ASDoc.
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.asRevision: 3801
Author: [email protected]
Date: 2008-10-21 16:19:17 -0700 (Tue, 21 Oct 2008)
Log Message:
Link FxButton and FxToggleButton samples into the ASDoc.
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxToggleButton.as -
Insert a Picture into the Picture/Image Content Control using Open XML SDK 2.0
I have created a word template as follows
Here PizzaPicture is a Picture Content Control, PizzaName is a Plain Text Content Control and PizzaDescription is a Rich Text Content Control
I am able to assign text to PizzaName and PizzaDescription Easily but not able to even locate the PizzaPicture. Here is my code
using (WordprocessingDocument document = WordprocessingDocument.Open(@".\test.docx", true)) {
MainDocumentPart mainPart = document.MainDocumentPart;
DocumentFormat.OpenXml.Wordprocessing.Text text = null;
SdtContentBlock pizzaNameBlock = null;
SdtContentBlock pizzaDescriptionBlock = null;
//SdtContentBlock pizzaPictureBlock = null;
List<SdtBlock> sdtList = mainPart.Document.Descendants<SdtBlock>().ToList();
foreach (SdtBlock sdt in sdtList)
Console.WriteLine(sdt.SdtProperties.GetFirstChild<Tag>().Val.Value);
SdtBlock s1 = mainPart.Document.Body.Descendants<SdtBlock>().Where(r => r.SdtProperties.GetFirstChild<Tag>().Val == "PizzaName").Single();
SdtBlock s2 = mainPart.Document.Body.Descendants<SdtBlock>().Where(r => r.SdtProperties.GetFirstChild<Tag>().Val == "PizzaDescription").Single();
SdtBlock s3 = mainPart.Document.Body.Descendants<SdtBlock>().FirstOrDefault(r =>
SdtProperties p = r.Elements<SdtProperties>().FirstOrDefault();
if (p != null)
Console.WriteLine("P is not null");
// Is it a picture content control?
SdtContentPicture pict =
p.Elements<SdtContentPicture>().FirstOrDefault();
if (pict != null) Console.WriteLine("Pict is not null");
// Get the alias.
SdtAlias a = p.Elements<SdtAlias>().FirstOrDefault();
if (pict != null && a.Val == "PizzaPicture")
return true;
return false;
if (s3 == null) {
Console.Write(" s3 is Null");
} else {
Console.WriteLine("s3 not null");
if (s1 != null) {
pizzaNameBlock = s1.Descendants<SdtContentBlock>().FirstOrDefault();
text = pizzaNameBlock.Descendants<DocumentFormat.OpenXml.Wordprocessing.Text>().FirstOrDefault();
// here you can set the current time
text.Text = "Peperoni";
Console.WriteLine(text.Text);
string embed = null;
if (s3 != null)
Drawing dr = s3.Descendants<Drawing>().FirstOrDefault();
if (dr != null)
Blip blip = dr.Descendants<Blip>().FirstOrDefault();
if (blip != null)
embed = blip.Embed;
if (embed != null)
IdPartPair idpp = document.MainDocumentPart.Parts
.Where(pa => pa.RelationshipId == embed).FirstOrDefault();
if (idpp != null)
ImagePart ip = (ImagePart)idpp.OpenXmlPart;
using (FileStream fileStream =
File.Open(@"c:\temp\pepperoni.jpg", FileMode.Open))
ip.FeedData(fileStream);
if (s2 != null) {
pizzaDescriptionBlock = s2.Descendants<SdtContentBlock>().FirstOrDefault();
string altChunkId = "AltChunkId12345";
AlternativeFormatImportPart chunk = mainPart.AddAlternativeFormatImportPart(AlternativeFormatImportPartType.Xhtml, altChunkId);
chunk.FeedData(File.Open(@".\html.txt", FileMode.Open));
AltChunk altChunk = new AltChunk();
altChunk.Id = altChunkId;
////Replace content control with altChunk information
OpenXmlElement parent = pizzaDescriptionBlock.Parent;
parent.InsertAfter(altChunk, pizzaDescriptionBlock);
pizzaDescriptionBlock.Remove();
mainPart.Document.Save();
document.Close();
Here the call mainPart.Document.Descendants<SdtBlock>().ToList(); returns me only 2 items PizzaName, PizzaDescription but
no PizzaPicture.
Secondly the line SdtContentPicture pict = p.Elements<SdtContentPicture>().FirstOrDefault();
returns NULL. So it seems that there is no element of type SdtContentPicture.
What am I doing wrong? I am pretty sure that I have put PizzaPicture as a Picture content control.
My objective is to locate this control in the document and then insert an image into it programmatically.
MSDNStudent Knows not much!Hi,
I'm running some test on your code, and I'll come back as soon as I get some update. But before that, I would recommend you to bind customXMLPart with the content controls via Content Control Tool Kit,
which enables us to bind customXMLPart with CC by dragging and dropping.
After binding, you can change contents of the template via OpenXML SDK easily as the following code:
private void button1_Click(object sender, EventArgs e)
string fileName = @"C:\CCTest.docx";
WordprocessingDocument wordDoc = WordprocessingDocument.Open(fileName, true);
MainDocumentPart mainPart = wordDoc.MainDocumentPart;
CustomXmlPart customPart = mainPart.CustomXmlParts.FirstOrDefault();
//convert image into string
string picName = @"C:\Users\Public\Pictures\Sample Pictures\Desert.jpg";
System.IO.FileStream fileStream = System.IO.File.Open(picName, System.IO.FileMode.Open);
System.IO.BinaryReader br = new System.IO.BinaryReader(fileStream);
byte[] byteArea;
byteArea = br.ReadBytes(System.Convert.ToInt32(fileStream.Length));
string picString = System.Convert.ToBase64String(byteArea);
//Load the XML template
string DataString = Properties.Resources.XMLData;
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(DataString);
//change the value
XmlNodeList xmlNode = xmlDoc.GetElementsByTagName("pizzaPic");
xmlNode[0].InnerText = picString;
xmlNode = xmlDoc.GetElementsByTagName("pizzaName");
xmlNode[0].InnerText = "Pizza Name";
xmlNode = xmlDoc.GetElementsByTagName("pizzaDescription");
xmlNode[0].InnerText = "Pizza Description";
//write the custom xml data into the customxmlpart
System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(customPart.GetStream(System.IO.FileMode.Create), System.Text.Encoding.UTF8);
writer.WriteRaw(xmlDoc.InnerXml);
writer.Flush();
writer.Close();
fileStream.Close();
br.Close();
mainPart.Document.Save();
wordDoc.Close();
and the XML template of the project would something like:
<?xml version="1.0"?>
<Pizza xmlns="http://Test/ContentControls/Pizzas">
<pizzaPic></pizzaPic>
<pizzaName></pizzaName>
<pizzaDescription></pizzaDescription>
</Pizza>
I hope this helps.
Calvin Gao[MSFT]
MSDN Community Support | Feedback to us -
Why can't I save text I've entered into a PDF file? When I hit "Save As", only the PDF document is saved, but not the text i typed into the document. I'm using Windows 8.
THANK YOU!
Jan Whitfield
The College Planning Center
250 Palladio Parkway, Suite 1311
Folsom, CA 95630
(916) 985-0453
www.TheCollegePlanningCenter.com -
My University email uses outlook and firefox will not let the page open once i log into the university login. It used to work, but now just shows a completely white tab. My email works fine in other browsers. Why?
Make sure that you haven't left a profiles.ini file.
* http://kb.mozillazine.org/profiles.ini_file
*http://kb.mozillazine.org/Profile_folder_-_Firefox -
After watch a video in "full screen mode" and the video shrinks back into the eBook view, HALF of the TOP Title Bar DISAPPEARS, But it does not happen with ios 6.1
The Mac has never needed "Full Screen". It has done multiple screen Extended Desktop since 1987.
Full screen is an iPhone feature, carried into this verion with the mult-touch gestures and other so-called "unifying" features. -
There is a bug in the spellchecking functionality when typing in the web view or while using Blogsy App. Why? Why my IPad crashes so often?
I have always found spell check to be "buggy" in every version of all of the iOS's that I have run on my original model iPad and my new iPad - especially when replying and typing posts in these forums. It works perfectly in every other application on my iPad but it has never worked perfectly in any web browser that I have used on my iPad - no matter what I have done to try to correct it. That is what MY experience has been with spell check on my iPads.
As for the crashes on your iPad try these basic troubleshooting steps.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Quit all apps and restart. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
Adding link to custom annotation.
Hi all...
I am developing a plugin that stamps custom annotation to a pdf file.
I would like to add a link to it by adding another annotation of type 'link' just above it.
But the link is not working when it is above my custom annotation.
(When it is not above the custom annotation this URI link is working fine.)
I also tried with Acrobat 9 Pro's link tool. The link provided by this tool
is also not working when it is above my custom annotation. Is this a bug in
Acrobat or due to some reason is this not recognizing by custom annotation?
But in both above cases the link (made from my plugin and Acrobat's tool) are get
selected and active temporarily on tab press.
Please help me to set link annotation on a custom annotation.
Regards
Sudhin.
IBut when i changed my stamp Subtype to 'Stamp'(Subtype of rubber stamp)
i could able to add link to my stamp.Then why i couldn't add link to a custom stamp.
If acrobat could place the link on top of rubber stamp(Subtype :Stamp), can anybody say how they
implement this. The same implementation may help my custom annotation to add link above it. -
Transfer cassettes into the mp3 format of Sony & use itunes too?
Hi,
I have many cassettes I'd like to transfer into the mp3 format which works on the Sony MEX-1GP Giga Panel car radio. I also want to have them play on my iMac G5 10.4.11. Will this work or am I out of luck on the compatibility front?
Thanks for any tips for cassette conversion into Mac friendly files too!
ScottOne way is to connect your Cassette deck (through the Tape out sockets of your amplifier) to the audio in socket of your computer. On the computer you'll need audio editing software to capture and edit the resulting long file into individual tracks that can be added to the iTunes Library. There are a number of commercial programs for this (I use Sound Studio for the Mac). If want to try out the process first you could try the open source program Audacity which has Linux, Mac and Windows versions at this link: Audacity
In addition to the software you'll need RCA to 3.5 mm audio plug cables to connect the Tape Out sockets of your amplifier to the audio inputs of your computer. There's a short guide to recording here: How to record from vinyl and cassette to a computer also from the BBC Copying Vinyl Recordings to CD
If your Mac hasn't got an audio in socket you can have a look at the Griffin iMic which connects to a USB port and comes with some software of it's own: iMic USB audio interface -
I really cannot see exactly where to start
select the head with one of Photoshop's selection tools
When doing this, I find it quite helpful to create an intermediate image with a transparent background that contains only the head to be pasted into the second image. First I paste the head onto this transparent background, scale it, rotate it or skew it to make it fit into the other image, adjust the lighting, then select it.
To be able to paste the head seemlessly into the second image (and without aliasing effects), I make the border of the selection soft (⌥⌘D); my Photoshop has a german interface, so I am not sure about the english localization, this command must be something like "selection -> modify selection -> soft border".
I would not bother to get the lighting and color excactly right in Photoshop, that is far easier with the "dodge" and "burn" brushes and color adjustments in Aperture.
To do this completely in Aperture, you would have first to combine both images into one (for example by creating a book page), then use the retouche->clone tool to stamp the head from one image to the other. I use this occasionally to stamp a face into a flower bud or for similar effects. However, for this to work you need a plain background and nearly circular shapes to be pasted.
Léonie -
So very excited bought iPad and new speakers today! Want to get all my music sorted as across iMac (G5), MacBook os 10.6 (maxed out ram and memory) and old iPod. Saw Match would be an option but can't use due to old OS so I can get the raw music library files but then what do I do to get all in one place? Any help appreciated.
A good route would be to attach a USB drive to the macbook. You can use the drive to assemble a copy of all of your music from your various devices. iTunes on the macbook can be used to create a new library, located on the USB drive, into which you can import all of your music.
Two major benefits:
1. From here you can run iTunes Match across your entire music collection; and
2. You will have created a full local backup of all of your music on the USB drive.
Once complete you will be able to access the music from any iDevice capable of running iTunes Match, Do remember as you add music it is important to maintain a local backup in order to keep your music safe. -
I have been trying to add time to an event i already added but the time field does not exist.
this happens only when I add the event from the month view while I press a date. in no other senario does this happens.
may be its a bug in the calendar.
if I press the + sign then it's normal.
any suggestions on how to fix this?there is edit button; however, my problem comes after that. if the event was added using the above method then there is still no way to change the time of the event in that date. if the event was added in any other way then I can change the time.
and I just realized my iphone3gs with ios5.0.1 has the same exact bug. -
How to save an image into the RTF Viewer
RTF Viewer.
The current problem that I have with the RTFViewer is that the RTFEditor allows for images to be inserted but on save the images get lost and no information on the images are saved.daregazi wrote:
I have posted my problem before, nobody replied so I ask again if anybody has any solution??
I want to save an image, which I created before from a physical file and did some bit-level manipulation, into the same or a new (doesn't matter) physical file (say in png format). But I do not know how to do it. I have tried the FileConnection API and OutputStream and then the method write() to write the byte array, rather this does not solve my problem. I need something like corresponding to J2SE ImageIO.write(image,null) function. Any Idea??
please.....I don't think it's possible in a midlet. You'll have to save the data as a byte[] to a RecordStore and then convert it back again if you want the midlet to redisplay it. -
Also if I call the insert query from within the servlet it works fine. I have disabled global transactions. Am I missing something out ? Please
any help would be greatly appreciated.May be your servlet is not able to lookup the EJB. You can use some print statements and see whether lookup ok or not.
Just a guess.
Plese get back, if any queries.
Thanks,
Rakesh.
Maybe you are looking for
-
How to call one .SWF from another?
How do I call one .SWF from another. I built a very beefy base .SWF, and want to add music overlay, and an intro slide show to the exsting Flash animation, but put it in a second .FLA/.SWF file. How do I call one from the other? This will be embedded
-
I have an evaluation copy of Lightroom CC which has been working fine on my Mac, but now suddenly refuses to start. I see the splash screen inviting me to continue the trial, but after I say Continue, that window closes and nothing more happens. I've
-
Aperture 3 and processor configurations
My MBP c2d developed the "Black Screen of Death" and is out of warranty and also that extra warranty for the extra defective Nvidia chips, so I need to upgrade. Since my only application which even remotely taxed the MBP was Aperture 3(and combining
-
Solution to Integration Scenario: RFC - XI - RFC
Hi , Our company is implementing a PI project. The aim is to integrate a product into SAP via PI. The product is written in C#, using a middle ware called 'ERPConnect' to call RFC from SAP system. The requirement is that ALL integration processes sho
-
Problems importing .mov video from a zoom q3HD shot at 1280x720, H.264
FCP wont allow me to import my file. I use the zoom q3HD and shot @ 1280 x 720. The codecs are h.264, Linear PCM. Can anyone help me. I was told first I have to convert to PRO RES to edit as h.264 is bad for this... any help would be huge! Its a wedd