Custom Header search
Hi guys,
I have added a custom header in my mail.When I search my folder by using HeaderTerm and search for the the mail,I get no results.
But when i retrieve all the mails from my folder and check the message object during debugging, the custom header that
I added is present.
Can anyone help me with this?
Also is the headerterm search valid for only default headers??
If no, am i missing something?
Following is the code snipplet:
msg.addHeader("EntityId","123");
Transport.send(msg);
SearchTerm st = new HeaderTerm("EntityId","123");
msgs = folder.search(st);
Have you found the [JavaMail FAQ|http://java.sun.com/products/javamail/FAQ.html#debug] yet?
Similar Messages
-
My company is used to exporting data from MAX using a custom header with the tab delimeter. I am trying to make a LabVIEW program that automatically writes the data and header to the file. My company already has software to make a custom header text file but the problem is that this file contains the text: {delimiter} where each tab should be. Is there a way when reading this custom header from the file to add a tab when this {delimiter} shows up such as MAX does?
Use "search and replace string",
search string= {delimiter}
replace string=tab diagram constant
replace all=true.
LabVIEW Champion . Do more with less code and in less time . -
Dear Experts,
I am trying to create custom headers for a sap query report i worte. I have the following issues:
1. I created the custom header and footer (to display the user and the date). However, when i run the report and view the list output i cant seem to get the information.
2. I am also wondering if i can somehow display the period information in the custom header or footer. The period is one of the selection criteria of my report.
Any answers will be highly appreciated.
Thanks.
RFor the search button, you will have to create a custom tag to generate the search box without the dropdown in community mode. Our search box tag just uses the portal code to generate the search box, and the portal code automatically adds the "everywhere" combobox when you are in a community.
For the second issue, there is no good way to get a specific community right now. You can always hard-code a link to the community by using the standard.opener link tag. However, this won't give you the name of the community. In order to do this you would either need to create a custom tag (not that hard), or use the mycommunities tag to get a collection of all the communities the user is a member of. You would then have to write a custom tag to check if the ids match, you could find the name.
The easiest thing to do is either hardcode the link, or write a custom tag to do exactly what you want.
Hope this helps.
-- Don -
Calling AdvancedDataGridSortItemRenderer with custom header
HI,
I have searched for a few hours now no luck...
I have an advanced datagrid, with a lot of columns showing
small check mark icon for boolean value.
To make the columns smaller, I made a simple headerRenderer
that rotates the labels 90 degrees, so they run vertical.
but I lose the sort arrow these columns.. Looking the docs
http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridClasses/AdvancedDataG ridHeaderRenderer.html
under
sortItemRenderer
Note that the sort item renderer controls the display of the
sort icon and sort sequence number. A custom header renderer must
include code to display the sort item renderer, regardless of
whether it is the default or custom sort item renderer.
How do I call that from my codeHi Juan,
Here I have written the form and program name.
And here is the 185F definition. -
How to show custom header in pdf generated from report
Hi,
I have created a report that is used to display Leave record of employees in an organization. After which it creates a pdf file and send it to respective HOD.
In this case I am trimming generated output and sendinf only required fields to the pdf.
When pdf is getting generated it shows program name as Title of that report.
I want to change this header to my own header along with some variable but not sure how I can do so.
I have also tried TOP-OF_PAGE but problem in this case is that I am still getting program name along with it.
To generate pdf I have used function :
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = spoolid
no_dialog = ' '
importing
pdf_bytecount = l_no_of_bytes
pdf_spoolid = l_pdf_spoolid
btc_jobname = l_jobname
btc_jobcount = l_jobcount
tables
pdf = l_pdfdata.
Then I had converted this pdf to Binary
call function 'QCE1_CONVERT'
tables
t_source_tab = l_pdfdata
t_target_tab = lit_record
exceptions
convert_not_possible = 1
others = 2.
Then I had created subject matter and used FM : SO_NEW_DOCUMENT_ATT_SEND_API1: to send mail to respective HODs.
I tried dubbing it but couldn't get any variable which is holding program name.
Sorry for putting in wrong forum.
so Closing it from this forum and raising the same in ABAp-General forum.
How to change header of pdf in generated report
Edited by: gaur.yagyesh on Apr 16, 2010 4:03 PMTo make it more clear to my question.
I am using sun one webserver 6.0 sp6.
I need to enable custom header on the webserver so that any request having a custom http header coming to webserver should be captured by the webserver.
Thanks, -
How to get the SharePoint user context available in custom federated search connector?
Hi,
I'm investigating the possibilities for developing a federated search connector for SharePoint 2013 Online. This should allow us to search a customer's database through our custom developed application (both on premise). We intend to develop
an remote federated search connector (using OpenSearch protocol) and configure a result source in SharePoint for that connector.
The problem I'm struggling with is that I want different search results from this ressult source based on the permissions of the user that is executing the search. The admin should find a lot because he has permissions on certain items in the custom
application. The employee should find just a few because he has no permissions on certain items in the custom application. We developed the custom application ourselveds and the search in that application is taking permissions into account: it doesn't
return results if a user doesn't have sufficient permissions. That part works just fine.
However, to be able to use that, the remote federated search connector must be able to identify the user that is executing the search in SharePoint Online. So: how do I get the SharePoint user context in the remote federated search connector?
I know I can configure the replacement token {User.Name} in the result source configuration, but that gives me the name of the user only. This is insufficient to get an identity, principal, token or whatever, that let's me log in into our custom
application.
I also know that in a provider hosted app, user context is passed through from SharePoint and is known within the remote app. But since result sources need fixed (or anonymous) credentials configuration for connecting to the remote federated search connector,
all users will be using the same credentials. This makes me assume these credentials are for securing communication and cannot be used within the execution of the search within the remote federated search connector.
At the moment, I'm stuck. Any help will be greatly appreciated.
Cheers,
Ruud.Hi,
Per my knowledge, we cannot get the SharePoint user context available in custom federated search connector with other methods.
Here is a similar thread for your reference:
https://answers.atlassian.com/questions/263735/atlassian-sharepoint-connector-federated-search-authentication-and-authorization
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
How do i add custom headers to a multipage document in TextEdit? i need to add a custom header in upper right of page, for example: "Smith, page 2", "Smith, page 3" etc. The add header setting in Textedit file-print only adds date : time in upper right, with "Page 1 of 3" on bottom right.
Thank you.It's just a text editor not a word processor.
-
Issue in receiving custom header in response SOAP message
Hi,
I have created a simple BPEL process with custom headers in request and response message.
I tried to send SOAP message through SOAPUI tool. Service is getting instantiated, able to access the request header and able to send response message. But only body is send as response message. Header is not sent in the response message.
Also tried to invoke the above service through another BPEL process. I could able to send the header through request but not able to receive the header in response message.
Pls. throw some light on this..
Regards
Jude.Hi,
Input request is working as you mentioned but the output custom headers are not working. When I use bpelx:outputHeaderVariable="varOutManifest" I am getting exception while running the interface. So I used bpelx:outputHeaderVariables="varOutManifest" but I am not getting back the custom header from the partner service to the variable.
Any hint.
receive:
bpelx:headerVariable="varManifest varSecurity"
reply:
bpelx:inputHeaderVariable="varOutManifest"
Invoke:
bpelx:outputHeaderVariables="varOutManifest"
bpelx:inputHeaderVariable="varManifest varSecurity"
Is anything wrong?
I am on 10.1.3.3.1 MLR # 14. I am getting following exception when I use bpelx:outputHeaderVariable.
<2009-03-06 17:33:36,840> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "delivery": [com.oracle.bpel.client.ServerException: 1] -> [java.lang.ArrayIndexOutOfBoundsException: 1]
java.lang.ArrayIndexOutOfBoundsException: 1
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__callback(BPELInvokeWMP.java:626)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:436)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3703)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1652)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:281)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5689)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:515)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:457)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:131)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
... 48 more
Thanks,
Arul
Edited by: user599098 on Mar 6, 2009 2:42 PM -
Custom Header/Footer examples
Custom Header/Footer examples
Does anyone have an example of a custom header and/or footer they are using in RequestCenter which has a hyperlink ? We would like to have a "Getting Started with the Service Catalog" on the right hand side of the MyServices home page.
The "Getting Started with the Service Catalog page" will be either an non-orderable service, a PowerPoint presentation or a link to a SharePoint page. What types of "help" pages do you think work best in RequestCenter?
thanks
cmhaynesooooohhh.... didn't know I could do that... our trainer didn't show us how to do that
thanks -
How to Change Journal Header name to Custom Header Name while GL Importing?
Hello Experts,
I am in situation where customer wanted to keep their own journal header naming conventions to imported journals in Oracle GL for custom Journal sources.
As I know while importing journals, Oracle Creates the Journal Name based on the below mentioned logic.
"Journal Import creates a default journal entry name using the following format:
(Optional User-Entered REFERENCE4)(Category Name)(Currency)
(Currency Conversion Type, if applicable)
(Currency Conversion Rate, if applicable)
(Currency Conversion Date, if applicable) (Encumbrance Type ID, if applicable)
(Budget VersionID, if applicable). If you enter a journal entry name,
Journal Import prepends the first 25 characters of your journal entry name to
the above format"
But then How it is possible to only allow journal header Name to be used present in REFERENCE4 excluding all other string provided by Oracle? Instead of using omitted string custmoer wanted to keep their own parameters. Example - REFERENCE4.A.B.C etc.
Is it possible to solve this using seeded setup or modifying some hook packages or anything else?
As far as I know there can be one workaround to be use of updating journal header name after journal import being completed successfully for custom journal source. But only fear is Oracle doesnt allow updating the base table without API. Am I rght?
So it would be really great if anyone of you can suggest the best solution or best possible workaround.
ThanksDuplicate - How to Change Journal Header name to Custom Header Name while GL Importing?
-
Adding Custom Header to SOAPMessage sent to external webservice
Hi ,
I want to append some payload and manifest elements to the soapmessage header when i am calling an external service using partner link.
I have created a variable of type string and initialised the string with my elements below:
<payloadManifest soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" so
apenv:mustUnderstand="0" xmlns="http://www.starstandards.or/webservices/2003/12/
transport">
<manifest element="ProcessVehicleOrder" id="Content0" namespaceURI="http://ww
w.starstandards.org/STAR" xmlns=""/>
and this string I have assigned to the the InputHeader part of the adapter tab in the Invoke activity.
Its removing the tags and displaying .
Please provide me help on how to append custom header to the soapMessage.
Its very urgent.
Thanks in advance
deepthi.
</payloadManifest>Maybe you can use this blog for this :
http://orasoa.blogspot.com/2007/09/using-custom-headers-in-bpel.html -
How to code a custom content search web part in Sharepoint 2013?
Hi,
Do you have any idea on how to create a custom Content Search Web part? What I mean is, I will code it in Visual Studio 2012.
Regards,
Napstercheck this
http://social.technet.microsoft.com/Forums/ie/en-US/13f1e581-4250-48c7-93a6-ef7ae2bb14c5/is-this-there-a-way-to-programmatically-set-the-query-text-or-append-additional-kql-filtering-to-a?forum=sharepointsearch
http://onlinecoder.blogspot.in/2013/08/sharepoint-2013-content-search-web-part.html -
Java code to connect to WSDL file with custom header
Hi all,
I am an absolute noob when it comes to Java. I need to write a Java app that can connect to a WSDL file with a custom header. Basically, all I need to do is connect to the web service and pass a username and password.
Any help would be appreciated.
Thanks,
ABetter you use tools which can generate code(interface,proxy and stub classes) which can take care of calling all the WSDL defined methods..i generally use RAD not an open source as per OP use eclipse open source or netbeans which can do the trick
-
Hey,
I am trying to build my own custom 'People Search' portlet and I was hoping to use the existing code behind the 'People Search' capability already built into the Portal and just modify that by adding my own criteria. Would anyone know where I could get the code that was used to build the 'People Search' portlet of Portal and where the sql for it is stored?
ThanksHi Sonia,
I would suggest that you continue your first thread itself :-
Re: Allow PUBLIC users to search and view basic OID data
It helps others to track the responses & offer more solutions.
Regards,
Sandeep -
Custom header reading of bounce mail
Hi,
When I send a mail to invalid mail address on gmail server, form the bounce mail able to read the custom headers using javax.mail api.
But when I send mail to invalid user on MS Exchange server, from the bounce mail I got, not able to read the custom headers using javax.mail. But the outlook shows (by looking at the option) the custom header is present. I think I may be missing some configuration while reading the mail from mail server using javax.mail. and not reading all the headers. (but its working with other email servers like gmail)First, you need to understand that it's up to the
destination server what it returns, if anything, when
you send a message to an invalid address.
In this case, if sounds like the destination server has
returned a message that includes all the headers
you want to see, but you can only see them using
Outlook and not when using JavaMail.
Note that Outlook typically uses a Microsoft proprietary
protocol to talk to Exchange, so it's possible for it to
see and do things that are not possible using the
standard internet protocols that JavaMail uses.
You'll probably need to consult an Exchange expert
to see if there are configuration options that control
what information it makes available to internet
protocol clients in this case.
Maybe you are looking for
-
So this journey started back in October. I was with sprint, and wanted out of their service, my contract was up, so I went with Verizon as they are the best in my area for service. My original order was for 2 iPhone 6's and an iPhone 5s. Upon finding
-
I have multiple apple I'd and default I'd comes up. I want to change with new I'd. How can I do that?
-
How do I change the install language on a MacBook Pro
Hi folks, I have purchased a 2nd hand MacBook Pro that was using Polish as its default language. I have changed it all back to English, including 'sudo languagesetup' in utilities, however I want to reintsall the OS and when I press Command > R on st
-
'BAPI_POEC_CREATE' function doesn't work with extended classic scenario
Hi everybody. Antecedents: We are working in an extended classic scenario. When we create a Purchase Order via ITS in SRM, the system works ok, the PO is replicated in the ERP system. But when we execute BAPI_POEC_CREATE function module in order to
-
How can I choose to view a page normally instead of in mobile view?
Firefox automatically loads the mobile version of a page if one is available and sometimes I prefer the original. Is there any way I can toggle between the two?