How to use user defined contact fields in Pages 4.3?
I would like to use new fields definded in Contacts (Vers. 7.1) in Pages (Vers. 4.3) for personalizing documents on my iMac under Mountain Lion. Is this possible, and how? Thank you.
Yes, here are four of them:
#1: shows the new field "foo" in the template
#2: shows "foo" in the list of names
#3: shows "foo" while editing a new card
#4 shows the absence of "foo" in the available names while trying to put the field "foo" in a pages document.
Similar Messages
-
How to use user defined contact fields in the intelligent group builder
In Apple Contacts it seems not being possible to build an intelligent contact group using an user defined, additional field. The builder seems to work exclusively with a system defined selection of the basic database fields. Please, tell me, that there is a way ...
Please, can sombody out there help?
-
How to use user-defined packages in JAX-RPC web service
I am trying to use Object of my class located in my package in jax-rpc webservice,the code is
package supercomputer;
import Hello.*;
public class SuperImpl implements SuperIF
public String sendParam(String data)
Temp ob=new Temp();
int i=ob.get1(10000);
return data+"returned by supercomputer";
Temp is located in Hello package,I have jar the Hello package as Hello.jar and has set its classpath in targets.xml of Ant tool.
The code compiles well and service is deployed successfully,but when i try to call the service from the client its gives me following error.
[echo] Running the supercomputer.SuperClient program....
[java] java.rmi.ServerException: Missing port information
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:357)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228)
[java] at supercomputer.SuperIF_Stub.sendParam(SuperIF_Stub.java:60)
[java] at supercomputer.SuperClient.main(Unknown Source)
I dont know if it deploys why it gives error on client side.
Please tell how to use user-defined packages and class in jax-rpc service code ,i am not talking about passing user-defined parameters i am just talking about making objects of user defined classes in jax-rpc service.I think there is some problem in classpath.
Please guide me in doing that.
Thanks,
FarrukhFarrukh,
I don't know if your error is about a missing class from your custom package, ... what track did you followed to say that?
To use your package in the implementation of you web service, you should only follow the rules of making a web application: put your package jar in your \lib directory inside WEB-INF/ or your package classes unjared in classes (also in WEB-INF/).
As I already said, I have doubts that your error should be originated from a missing class from your package, but:
-try to see the logs (errors?) when you deploy your web service that could give a hint about the problem.
-try to see if you can access your endpoint through your browser to see if there is a online status
-display your config/WSDL file, and the steps you did to build your web service.
regards,
Pedro Salazar. -
How to import user defined class in UIX page?
Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
Thks & Rgds,
Bennywhat you are referring to is not javascript.
it is JSP scriptlets. These are very different.
In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
However, you can run java code from within a UIX event handler; see:
http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
event handler code is run before the page is rendered. -
How to use user defined object with linked button
Hi experts
Can I use user defined table data with linked button. If yes then how. plz give me sample examples.
Regards
GorgeIf you have an UDO in your form, or any other, the FormDataLoad eventhandler should be used.
Take care, it is not inside the eventhandler.
for VB:
Select SBO_APPLICATION in the classes, and select FormDataLoad event
Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
in C#
Add a new eventhandler as
// declaration
SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(ref SBO_Application_FormDataEvent);
// eventhandler:
public void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent) -
How to transfer user defined accounting fields from SRM to ECC ?
Hi!
We are running SRM 5.0 and ECC 6.0 with classic scenario.
We have defined Business entity filed account assignment tab in SRM SHC.
New fields are also defined in tables BBP_C_ACC_F and in BBP_C_ACCFD and added in the structure also INCL_EEW_PD_ACC_CSF. New fields are also defined in srpo accounting.
In R/3 the same field is already defined as it is standard one.
When I create PR or PO i entered the Business entity for the account assignment R i.e real estate.
However, when I order my shopping cart with values in new fields, the values are not transferred into backend.
Standard fields transfer nicely, but the user defined fields dont transfer.
Can any please let me know what we have to do for these user defined values to transfer to back end. We need to implement any BADI ?
Please let me know
ThanksHi,
Use BADI BBP_CREATE_PO_BACK ( t.code SE18) can transfer custom fields
some useful links to transfer custom fields from SRM to ECC..
Re: Purchase Order item customer fields
implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
Re: Custom field values are not being transfered to the backend system
Re: How to replicate SRM PO customer fields to ERP PO in ECS
Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
BBP_ECS_PO_OUT_BADI
implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
Update Header Text in R/3 using BBP_ECS_PO_OUT_BADI
Hope these are helpful..
Thanks
prasad .s -
How to use user defined exception class
Hi all
I just need som help with creating a user defined exception class.
Im writing a small/simple text editor.
My exception class looks like this:
public class myExcp extends Throwable
private String message;
public myExcep(String message)
this.message = message;
public void display()
System.out.println(message);
I would like to use it when a user tries to open a exe-file instead of a txt file.
Here is some code from the editor:
if (e.getSource() == open)
saveOld();
if (fc.showOpenDialog(null)== JFileChooser.APPROVE_OPTION)
readFile(fc.getSelectedFile().getAbsolutePath());
saveas.setEnabled(true);
So, should I use exception here or at the readFile method?
readfile:
private void readFile(String fileName)
try
String tmp = fileName.substring(fileName.length() -4, fileName.length());
if (!tmp.equals(".exe"))
FileReader r = new FileReader(fileName);
textarea.read(r, null);
r.close();
currentFile = fileName;
label.setText(currentFile);
changed = false;
catch (IOException e)
JOptionPane.showMessageDialog (this, "Cannot find the file " + fileName);
Where and how do I use my exception class.
Do I need to create an instance? Where?
Should the exception class extend Exception instead?
Thank you in advance /Extend Exception, not Throwable. It's a checked exception that way.
Follow the Sun coding standards and make that exception class name start with a capital letter.
When you extend Exception, override all four ctors.
What's that display method you added? Isn't getMessage() good enough?
You need to create a new instance just before you throw the exception, of course.
Sounds like a terrible design, by the way. Exceptions shouldn't be used like "go to" for app logic. They should signal unrecoverable conditions. You can easily recover from the situation you've described simply by displaying a pop-up that tells the user to open only text-readable file types. I think that's a better solution.
% -
Pls. help - How to use user defined URL?
The page users access currently for login is (only over the Intranet)- http://servername/pls/portal30/url/page/pagename
I need users to be able to point to - http://project.companyname.com/project
and be taken to the above Login page.
What needs to be setup (Apache/Portal)??
I created a Virtual Hosts entry in the httpd.conf file -
NameVirtualHost 13.xx.xx.xxx
<VirtualHost 13.xx.xx.xxx>
ServerName project.companyname.com
</VirtualHost>
That did not help. What am I missing?
Thanks.ATP,
Pls. refer Portal FAQ. Here is how it works
Use the Apache Redirect directive in the <ORACLE_HOME>/Apache/Apache/conf/httpd.conf file. For example, if your site's full URL is http://mysite.us.oracle.com:80/pls/portal30, you can place the following directive in httpd.conf:
Redirect /portalhome http://mysite.us.oracle.com:80/pls/portal30
Then, if you try:
http://mysite.us.oracle.com/portalhome
you will be redirected to the original URL. This technique will also work with any valid path that is appended to the URL. For example:
http://mysite.us.oracle.com/portalhome/url/folder/ONLINE_HELP
will redirect the user to the Online Help content area.
null -
How to use user defined function in select query using Toplink
Hi Friends
I am little bit of new in Toplink stuff... so please help me...
I have to database functions 1. encrypt and 2. decrypt.
I want to exceute the following sql query using toplink
select port, database, user_name, decrypt(encrypt('String which is to be encrypt ','password'),'password') from CONFIGURATION
can anyone tell me , how to write code in toplink which will give the about sql output.
thanks .....The "Specifying a Custom SQL String in a DatabaseQuery" section in the TopLink Developer's Guide may help... http://download-uk.oracle.com/docs/cd/B32110_01/web.1013/b28218/qrybas.htm#BCFHDHBG
-
How to use User defined Function in Update statement
Hi All,
I have written below update statement to update column based on value return by function. but it is not working. Could any one help me on this. This function will return only one value for each project.
thanks in advance.
UPDATE dg2.OD_PROJ_LOOKUP_TEMP o
SET Months_In_Stage_Cnt = select Months_In_Stage_Cnt_ret(o.project_id) from dual;
thanks
debhi,
CREATE FUNCTION fn_emp_ename (p_empno IN emp.empno%TYPE)
RETURN VARCHAR2
IS
v_ename emp.ename%TYPE;
BEGIN
SELECT ename
INTO v_ename
FROM emp
WHERE empno = p_empno;
RETURN v_ename;
EXCEPTION
WHEN NO_DATA_FOUND
THEN
RETURN NULL;
WHEN OTHERS
THEN
RETURN NULL;
END fn_emp_ename;
SQL>
SQL> select * from emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 7839 02-APR-81 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
7839 KING PRESIDENT 17-NOV-81 5000 10
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7934 MILLER CLERK 7782 23-JAN-82 1300 10
14 rows selected.
SQL> select fn_emp_ename (empno) as emp_name from emp;
EMP_NAME
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
SCOTT
KING
TURNER
ADAMS
JAMES
FORD
MILLER
14 rows selected.
SQL> update emp
2 set ename= fn_emp_ename (7936)
3 where empno=7934;
1 row updated.
SQL> commit;
Commit complete.
SQL> select * from emp where empno=7934;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTN
7934 CLERK 7782 23-JAN-82 1300 1
SQL> i hope this helps .........
Thanks,
P Prakash
Edited by: prakash on Nov 17, 2011 11:52 PM -
Using user defined variables in SAP BPC 7.0 NW
Hi,
I am using BPC 7.0 SP2 NW version. I want to do some calculatioins and/or comparision in the script logic by using user defined variables.
For Ex: I want to assign the property TIMEID of TIME dimension to a variable and then use this variable in my IIF statement.
I have tried a lot but not getting any solution.
Can anyone guide me in how to use user defined variables in Script Logic.
Your valuable reply is appreciated.
Thanks & Regards
Manoj DamleHi,
Thanks for the valuable reply.
But i want to define variables in the Script Logic and not in the Data Manager.
The scenario is like this:
I want to check the value of the DUMMYACC1 member of GL_ACCOUNT dimension with a constant and depending on the condition i want to update a user defined variable. This variable will further be used in the *SELECTCASE statement for decision making.
The Code is as follows:
*XDIM_MEMBERSET COMP_CODE = COMP_CODE_1
*XDIM_MEMBERSET BUS_AREA = BUS_AREA_1
*XDIM_MEMBERSET VERSION = VERSION_1
*XDIM_MEMBERSET CURRENCY = AUD
*XDIM_MEMBERSET DATASRC = DATASOURCE_1
*XDIM_MEMBERSET GL_ACCOUNT = SALESREVENUE,PRICE,QUANTITY,DUMMYACC1
*XDIM_MEMBERSET TIME=2009.MAY,2009.JUN
*XDIM_MEMBERSET CUSTOMERCATEGORY = CUSTOMER_CAT_1
*XDIM_MEMBERSET PROFIT_CTR = PROFIT_CTR_1
*XDIM_MEMBERSET SEGMENT = SEGMENT1
*XDIM_MEMBERSET MEASURES = PERIODIC
*FUNCTION PRO(%VAR1%,%VAR2%)
[%VAR1%].CURRENTMEMBER.PROPERTIES("%VAR2%")
*ENDFUNCTION
*FOR %GL_ACC% = DUMMYACC1
*FOR %CV_TIM% = 2009.MAY,2009.JUN
#CUR_MTH = IIF(([GL_ACCOUNT].[%GL_ACC%],[TIME][%CV_TIM%]) = 1.,1,NULL)
*NEXT
*NEXT
*SELECTCASE #CUR_MTH
*CASE 1
#CURRENTMTH = PRO(TIME,TIMEID)
*ENDSELECT
The errors which system gives is:
1. Duplicate formula found
2. Invalid MDX statement
3. #CUR_MTH & #CURRENTMTH is not a valid member
Please give your valuable suggestion.
Thanks and Regards
Manoj Damle -
About semantic indexing using user defined ontology
hi zhe,
according to the dev. guide, you can do semantic index on a document using user defined ontology. however, multiword class names, individual names and property names defined in the ontology are usually concatenated and cannot have space. if I have a multiword concept such as "http://www.example.org/medicalProblem/DiagnosedPastNeurologicalDeficit" rather than "http://www.example.org/medicalProblem/Diagnosed Past Neurological Deficit" in the ontology and a loaded document in the table also contains the concept "Diagnosed Past Neurological Deficit", so how is the extractor able to identify the concept in the document? do I need to describe the concept in the ontology using rdfs:lable like this "<rdfs:label xml:lang="en">Diagnosed Past Neurological Deficit</rdfs:label>" so that extractor can identify the concept in the document? I am not clear how to use user defined ontology to semantically index documents. thanks a lot in advance.
hongHi Hong,
The semantic indexing feature is itself a framework. There is no native NLP engine bundled with it.
There are NLP engines like Open Calais, GATE, and Lymba that can work with this framework. Some engines
can take an ontology and map entities (events, individuals, relationships etc.) embedded in the text to definitions in the ontology. You can also perform the mapping yourself. For example, you can take out the rdfs:label (or comment, or some other descriptive parts) of URIs, build an Oracle Text index, perform a fuzzy text match for a given piece of phrase, and select the URI that gives the best matching score.
Hope it helps,
Zhe Wu -
How to map user-defined fields in XML communication on SRM site
Hi All!
We use the External sourcing scenario and we transfer requirements from ERP in SRM through XI (PurchaseRequestERPSourcingRequest_In)
We should transfer the user-defined fields, but we can not map it in SRM site.
We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
I see the XML message with ours z-fields in tr. SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
Someone can tell how to map user-defined field for SC?
Thanks in advance
Evgeny IlchenkoHello, Julia
We have found solution our problem
We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
But In our new interfaces were different XML namespaces
When we have correct an error we could use the next BADI
on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
on SRM site: /SAPSRM/BD_SOA_MAPPING
BR,
Evgeny -
How can I use User-Defined Aggregate Functions in Timesten 11? such as ODCI
Hi
we are using Timesten 11 version and as per the documentation, it doesn't support User-Defined Aggregate Functions.
So we are looking for alternatives to do it. Could you please provide your expert voice on this.
Thanks a lot.
As the following:
create or replace type strcat_type as object (
cat_string varchar2(32767),
static function ODCIAggregateInitialize(cs_ctx In Out strcat_type) return number,
member function ODCIAggregateIterate(self In Out strcat_type,value in varchar2) return number,
member function ODCIAggregateMerge(self In Out strcat_type,ctx2 In Out strcat_type) return number,
member function ODCIAggregateTerminate(self In Out strcat_type,returnValue Out varchar2,flags in number) return
number
How can I use User-Defined Aggregate Functions in Timesten 11? such as ODCIAggregateInitialize ?Dear user6258915,
You absolutely right, TimesTen doesnt support object types (http://docs.oracle.com/cd/E13085_01/doc/timesten.1121/e13076/plsqldiffs.htm) and User-Defined Aggregate Functions.
Is it crucial for your application? Could you rewrite this functionality by using standart SQL or PL/SQL?
Best regards,
Gennady -
How to remove User Defined field in programitically
Hi,
How to remove user defined field in programitically. send the code
Thanks,
P.Suresh KumarHi,
Please take a look at this thread:
Re: Can't remove a user defined field with DI API.
Kind Regards,
Owen
Maybe you are looking for
-
Where are the epson drivers for Mavericks for the artisan 835
Where are the epson drivers for Mavericks for the artisan 835
-
Candlestick chart problem with multiple series
Hello, I added one mx:CandlestickSeries object and couple additional mx:LineSeries objects to the chart. All series are represented but still I have one problem. More series I add - less candles are becoming of CandlestickSeries data. It seems that t
-
Payment Wizard - Recommendation Report - Prints Un-Checked Lines
Hi, I am running the Payment Wizard and when I get to step 6 (Recommendation Report) I un-check some of the Payments. When I click the Print Preview or Print icon, it previews or prints, but it shows all of the payments that I have, including the un-
-
Bought Mountain Lion, How do I download it?
So I'm upgrading my audio engineering software and I need Mountain Lion. I don't want to go to Yosemite because it's not officially approved. I already paid for it online, how can I download it? I haven't received an e-mail or anything, but my ord
-
How to find which script assinged to which program?
hi SDNs, how to know configuration of NACE for particular program? i don't know application type.. i have checked TNAPR. no use. tell me is there any other tables ? i think one more table also there? thanking you