Can I get the description field the daily 'bundled' subscription email
I'm customising subscriptions and have managed to edit the individual event SUBSCRIPTION_EMAIL.xsl xsl so that its shows the description.
However I also need to mdify the daily 'bundled' subscription email. I have managed to customise much of the code in the SUBSCRIPTIONBUNDLED_EMAIL.xsl sheet to give the right 'look and feel', but cannot find how I can obtain the description next to each item created. The xsl code seems to infer the 'resourceDescription' should be contained within the notification/bundlednotificationdata/resource field, but looking at the SUBSCRIPTIONBUNDLED_en.xml all I can see if this area is the comment NotificationData will be set here, ie
<notification>
<bundlednotificationdata>
<!-- NotificationData will be set here -->
</bundlednotificationdata>
Is there anyway of getting the resourceDescription next to each item created, and if so how?
Thanks
Andy
Hi Andrew,
You can add additional information for each resource by modifying the XML, specifically the textspan tags for the associated event. I think you may run into problems with the description though, since it was causing problems since it could be multiple lines which did not work well going through the XSL. It could be that they are no longer passing the description from the Java for the bundled subscriptions for this reason. I vaguely recall something about this.
This article may better help you to understand how notifications work:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/90626697-0901-0010-2ca7-86e2a50ce70d
Regards,
Darin
Similar Messages
-
How can I get the host name from Email address?
hi
When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanksStripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
http://www.stopspam.org/email/headers/headers.html
Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
Sean -
''locking as a duplicate - https://support.mozilla.com/en-US/questions/879143''
I have Windows VistaJust above the textarea that you use to enter the message text on the "Compose New Mail page" there is usually a button bar with buttons to add text formatting like Bold and Italic.<br />
That toolbar may also have a button to turn a text link into a clickable hyperlink (look for a chain like button).<br />
You can select the text and click that button to turn the link into a clickable hyperlink.<br />
If you can't find the button then hover them all to check the tooltip of each (e.g. Insert hyperlink).
* Make Link - https://addons.mozilla.org/firefox/addon/make-link/ -
Can't get the Daily Show to play on my computer...
21.5" iMac Intel Core 2 Duo, OS X 10.6.8. Tried reinstalling the combo 10.6.8 updater with no joy. Clips won't play in any browser- Safari, Chrome or Firefox. Flash plug-in 10.3.183.10 is installed. Used to play fine. Anyone have any suggestions?
Thanks,
KenDitto here. I have tried Safari, Chrome, and Firefox and cannot get Daily Show clips to play.
I have turned off Ad Blocker.
I have updated Flash Player.
I'm running the latest Mavericks OSX.
What gives?
The only thing that I can think of is I'm in New Zealand and Comedy Central has suddenly kiboshed videos outside the USA? They played fine before this format change. -
I can't get the classic template in email in iPhoto to show pics?
I was using email in iPhoto to send pics, and they always showed the picture when I used the classic template/design? Now, I don't get any pictures or a text box! They do email correctly, but without any text and no ability to see what I am sending. Done the restart, etc, but no luck. The pictures do show up in the other templates, however, which is really strange.
File on web forms is attached to the case. Go to the case in the admin and you can retrieve the file.
-
Help my email messages do not appear in the right hand side. Just the headings but no text at all. On the left the preview shows but nothing on right.
Restart your iPad. If that doesn't work, reset it.
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. -
How can I get the "text" field from the actionEvent.getSource() ?
I have some sample code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.ArrayList;
public class JFrameTester{
public static void main( String[] args ) {
JFrame f = new JFrame("JFrame");
f.setSize( 500, 500 );
ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
buttonsArr.add( new JButton( "first" ) );
buttonsArr.add( new JButton( "second" ) );
buttonsArr.add( new JButton( "third" ) );
MyListener myListener = new MyListener();
( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
JPanel panel = new JPanel();
panel.add( buttonsArr.get( 0 ) );
panel.add( buttonsArr.get( 1 ) );
panel.add( buttonsArr.get( 2 ) );
f.getContentPane().add( BorderLayout.CENTER, panel );
f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
f.setVisible( true );
public static class MyListener implements ActionListener{
public MyListener() {}
public void actionPerformed( ActionEvent e ) {
System.out.println( "hi!! " + e.getSource() );
// I need to know a title of the button (which was clicked)...
}The output of the code is something like this:
hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
I need this: "first" (from this part: "text=first" of the output above).
Does anyone know how can I get the "text" field from the e.getSource() ?System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
In a real-world application, no.
In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button). -
HOW CAN I GET A DESCRIPTION OF ALL OF THE FRATURES IN lION 10.7.4
How can I get a description of all of the programs that came with my mac pro without spending an arm and a leg?
This is a good place to start and follow the links to all the Mac 101 articles.
http://www.apple.com/support/mac101/
Regards,
Captfred -
How can we get the value of the key field in a custom data model using governance API?
Dear Team,
How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
Any kind of help would be sincerely appreciated.
Thanks & Regards,
Tushar.Hi Michael,
Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
This is a workaround for now.
So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
Can we do that using governance API and its' methods?
In the Governance API doc you provided below has referring to below external model as part of gevernance API.
The active or inactive data (before or during the derivation or the check) can be read
with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
parameter should b
e set to ‘X’.
Thanks
Praveen -
Can we get the label name of the particular oracle field using open script
hi
can we get the label name of the oracle fields like column name ORDER NUMBER instead of ORDER_ORDER_NUMBER_0 when recording using openscript.Good morning
Do you develop functional or load test scripts?
I don't think we can in both cases because this is really the name of the field + the index.
The zero refers to first line normally (then 1 for second line and so on).
"Order number" is maybe the display label which is not enough to recognize and interact with a field.
May I ask why you want this, then it could help me (us) to give you a good solution/workaround.
Cheers
JB -
How can i get the value when the field name is user defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count(*) as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyHi Ricky
To access pseudo columns you can specify an alias or use the index on the column (e.g. getInt(1)).
Chris
NB: you should use bind variables instead of concatenating the id to the SQL statement. -
How can I get the previous record's field value in a VO
Hi I would like to know how can I get the previous record's field value in a VO
For example : I have a VO porequisitionlinesvoimpl, and it contains 5 records (porequisitionlinesvoimpl.getRowCount() = 5). How can I search all records in the VO and get the field (attribute3) for all records?
Many thanks anyone can help
LawrenceHi ,
U can loop through the VO to get the value of attribute3,
need to extend the controller ,use below code
OAViewObject vo = (OAViewObject)oawebbean.getApplicationModule (VO1);
OARow row = null;
int fetchedRowCount = vo.getFetchedRowCount();
RowSetIterator Iter = vo.createRowSetIterator("Iter");
if (fetchedRowCount > 0)
Iter .setRangeStart(0);
Iter .setRangeSize(fetchedRowCount);
for (int i = 0; i < fetchedRowCount; i++)
row = (OARow)Iter .getRowAtRangeIndex(i);
String value = (String)row.getAttribute("Atrribute3");
Thanks
Pratap -
EBS field how can we get the information that on which form this filed is
we are doing some data mapping activity for datawarehousing if we are given some EBS field how can we get the information that on which form this filed is located is there any good method
Hi Kapoor,
please give also others a chance, and excuse that I get up late on vacation ;-)
Anyway, I'd keep the story creation responder to recognize the copy, then combine it with an observer on the backing xml story to catch the associated XML element which is created there. Something like below:
UIDRef xmlStoryRef = Utils<IXMLUtils>()->GetBackingStore(doc);
InterfacePtr<ISubject> subject ( xmlStoryRef,IID_ISUBJECT );
subject->AttachObserver(observer,IID_IIDXMLELEMENT,observer->GetAttachIID()); -
Can't get the internal table values
hi all,
i have created a report in which i have DISPLAY EKPO-BANFN and EKKO-EBLEN.For this reason i have created an internal table gi_final,in which my values of both table are coming through.Following are the codes and structure of internal table:
BEGIN OF gi_final OCCURS 0,
matnr LIKE ekpo-matnr,
ematn LIKE ekpo-ematn, "Material Number
txz01 LIKE ekpo-txz01, "Mareial Description
ktmng LIKE ekpo-ktmng, "Quantity
netpr LIKE ekpo-netpr, "Rate
anfnr LIKE ekpo-anfnr, "RFQ No.
banfn LIKE ekpo-banfn, "Purchase Requisition Number
ebeln LIKE ekko-ebeln, "Purcahse Order
ekorg LIKE ekko-ekorg,
bstyp LIKE ekko-bstyp, "Purchasing Document Category
submi LIKE ekko-submi, "Collective Number
lifnr LIKE ekko-lifnr, "Vendor Number
bedat LIKE ekko-bedat, "Purchase Order Date
END OF gi_final.
select ekko~ebeln ematn txz01 ktmng banfn
from
ekpo
inner join ekko on
ekpo~ebeln eq ekko~ebeln
into
corresponding fields of table gi_final
where
ekko~ekorg in s_ekorg and
ekko~ebeln in s_ebeln and
ekko~submi in s_submi and
ekko~lifnr in s_lifnr.
READ TABLE gi_final WITH KEY ebeln = gi_final-ebeln.
MOVE gi_final-banfn to gi_detail-banfn.
MOVE lv_netpr to gi_detail-netpr.
MOVE gi_final-ematn TO gi_detail-ematn.
MOVE gi_final-txz01 TO gi_detail-txz01.
MOVE gi_final-ktmng TO gi_detail-ktmng.
Probelm is that when i execute it with Debugger my internal table can't get the values of EBELN and BANFN.
Thanks & Regards,
sapabappk
Edited by: sapabappk on Sep 26, 2010 10:32 AMHI ,
BEGIN OF gi_final OCCURS 0,
matnr LIKE ekpo-matnr,
ematn LIKE ekpo-ematn, "Material Number
txz01 LIKE ekpo-txz01, "Mareial Description
ktmng LIKE ekpo-ktmng, "Quantity
netpr LIKE ekpo-netpr, "Rate
anfnr LIKE ekpo-anfnr, "RFQ No.
banfn LIKE ekpo-banfn, "Purchase Requisition Number
ebeln LIKE ekko-ebeln, "Purcahse Order
ekorg LIKE ekko-ekorg,
bstyp LIKE ekko-bstyp, "Purchasing Document Category
submi LIKE ekko-submi, "Collective Number
lifnr LIKE ekko-lifnr, "Vendor Number
bedat LIKE ekko-bedat, "Purchase Order Date
END OF gi_final.
select ekko~ebeln ematn txz01 ktmng banfn
from
ekpo
inner join ekko on
ekpoebeln eq ekkoebeln
into
corresponding fields of table gi_final
where
ekko~ekorg in s_ekorg and
ekko~ebeln in s_ebeln and
ekko~submi in s_submi and
ekko~lifnr in s_lifnr.
READ TABLE gi_final WITH KEY ebeln = gi_final-ebeln.
MOVE gi_final-banfn to gi_detail-banfn.
MOVE lv_netpr to gi_detail-netpr.
MOVE gi_final-ematn TO gi_detail-ematn.
MOVE gi_final-txz01 TO gi_detail-txz01.
MOVE gi_final-ktmng TO gi_detail-ktmng.
Why you are reading gi_final table and comparing same table field gi_final-ebeln ?
how is gi_detail table declared ?
just do like this
loop at gi_final .
MOVE gi_final-banfn to gi_detail-banfn.
MOVE gi_final-ematn TO gi_detail-ematn.
MOVE gi_final-txz01 TO gi_detail-txz01.
MOVE gi_final-ktmng TO gi_detail-ktmng.
append gi_detail .
clear gi_detail
endloop.
and From where you are getting value of lv_netpr
MOVE lv_netpr to gi_detail-netpr.
then you will get data in gi_detail
Regards
Deepak. -
How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?
Ok what about If i need to get all important attributes by comparing Email addresses from excel file and get all required answers
currently I am trying to verify how many users Lines are missing , Emp numbers , Phones from AD with HR list available to me.
I am trying to Scan all the AD matching HR Excel sheet and want to search quickly how many accounts are active , Line Managers names , Phone numbers , locations , title , AD ID .
these are fields I am interested to get in output file after scanning Excel file and geting reply from AD in another Excel or CSV file
Name’tAccountName’tDescri ption’tEma I IAddress’tLastLogonoate’tManager’tTitle’tDepartmenttComp
any’twhenCreatedtAcctEnabled’tGroups
Name,SamAccountName,Description,EmailAddress,LastLogonDate,Manager,Title,Department,Company,whenCreated,Enabled,MemberOf | Sort-Object -Property Name
Can you modify this script to help me out :)
Hi,
Depending on what attributes you want.
Import-Module ActiveDirectory
#From a txt file
$USERS = Get-Content C:\Temp\USER-LIST.txt
$USERS|Foreach{Get-ADUser $_ -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
#or from a csv file
$USERS = Import-CSV C:\Temp\USER-LIST.csv
$USERS|Foreach{Get-ADUser $_.SAMAccountName -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
Regards,
Dear
Gautam Ji<abbr class="affil"></abbr>
Thanks for replying I tried both but it did not work for me instead this command which i extended generated nice results
Get-ADUser -Filter * -Property * | Select-Object Name,Created,createTimeStamp,DistinguishedName,DisplayName,
EmployeeID,EmployeeNumber,Enabled,HomeDirectory,LastBadPasswordAttempt,LastLogonDate,LogonWorkstations,City,Manager,MemberOf,MobilePhone,PasswordLastSet,BadLogonCount,pwdLastSet,SamAccountName,UserPrincipalName,whenCreated,whenChanged
| Export-CSV Allusers.csv -NoTypeInformation -Encoding UTF8
only one problem is that Manager column is generating this outcome rather showing exact name of the line Manager .
CN=Mr XYZ ,OU=Users,OU=IT,OU=Departments,OU=Company ,DC=organization,DC=com,DC=tk
Maybe you are looking for
-
Albums in the Gallery tutorial
I am trying to create the dymaic list/albums from the photogallery example. I can see in the source code how to create a dynamic list but how do I split up my images into albums? looking at the xml file I can see that I need to declare a "base" does
-
my mms is not working to send to other phones.i can send to iphone4 to iphone4 but when i try send to other phones i cant.it did it fine on 4.35 then i updated to iso5 and now i cant .ive got iso5.1 now and still cant
-
In Firefox 2.0+ you can go to Advanced JavaScript Settings and check a box to allow scripts to change status bar text. How do I do this is Firefox 10.0.1?
-
Podcasts in Itunes appear under Music Genre Podcasts
Does anyone know how to get podcasts downloaded/subscribed to using iTunes to appear on their iPod under PODCASTS instead of appearing under Music > Genre > Podcasts ? Thanks Andy HP Laptop Windows XP Pro
-
I've searched for some time, but have yet to find a solution to this: I wish to hide items ( html help item associated with each node) in a tree with a xmlListCollection data provider . I found this article: http://www.axelscript.com/2008/02/20/using