Adding attachments to objects
I'm looking for a way of attaching a simple note to a service notification. I'm guessing that SO_ATTACHMENT_INSERT is the right function to use - is that correct? If so, what do I need to use as the object_id to reference the notification (this is a reference to the notification, isn't it?) attach_type should be 'RAW' I believe, and objcont is a table containing the lines of the note. What goes in objhead?
Or I could be completely wrong and SO_ATTACHMENT_INSERT won't do the job. If so, what will?
Many thanks,
Steve.
Here is an example (for CS3):
Dim myInDesign As InDesign.Application
Dim myDoc As InDesign.Document
Set myInDesign = CreateObject("InDesign.Application.CS3")
Set myDoc = myInDesign.ActiveDocument
Set myObject = myDoc.Rectangles.Item(1)
Set myTs = myObject.TransparencySettings
myTs.DropShadowSettings.Mode = idShadowMode.idDrop
Set myBs = myTs.BlendingSettings
myBs.Opacity = 50
myBs.BlendMode = idBlendMode.idMultiply
Every object that may have an effect, blending mode or opacity applied — e.g. a rectangle — has the following properties: ContentTransparencySetting, FillTransparencySetting, StrokeTransparencySetting and TransparencySetting which correspond to options in Effects Panel.
Kasyan
Similar Messages
-
Adding attachments to a Parked cuetomer invoice(FBV2)
Hi,
I need to attach documents to a customer parked invoice, in short I need to replicate 'Adding Attachments' functionality in Transaction FBV2.
Can any1 please guide me how I am unable to find any solution to this problem.
Cheers
AbhishekYou might find this Blog of help:
/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
Also, search for GOS and Generic Object Services and look through the CL_GOS* classes.
Jonathan -
Can you customize what folder MAIL goes to when adding attachments?
Can you customize what folder MAIL goes to when adding attachments?
My friend has 2 email addresses for businesses.
He has invoices in folders for both, and wants to set up the Mac like this:
When he writes from one email address and attaches documents - he want the Mac always to go to the corresponding folder for that company of his. Same for the other email address...
Make sense?
Can this be done?
Thanks in advance....Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
When you see the gray Apple logo, release the shift key.
If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
*Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test. -
Adding attachments to Web Service call
Hi
Does Bea's web service classes include support for adding attachments to the soap message sent by a web service?
How do I do it? or otherwise, how do I get through the abtraction down to the soap message so I can add it manually?
I have both a weblogic.webservice.core.rpc.StubImpl and a javax.xml.rpc.Service to work with, I'm guessing it's somewhere deep down in the context of the Service...?Hi
Does Bea's web service classes include support for adding attachments to the soap message sent by a web service?
How do I do it? or otherwise, how do I get through the abtraction down to the soap message so I can add it manually?
I have both a weblogic.webservice.core.rpc.StubImpl and a javax.xml.rpc.Service to work with, I'm guessing it's somewhere deep down in the context of the Service...? -
Adding attachments to an e-mailable form
I am creating a form that is to be filled out and then
submitted and sent to an e-mail. I want to make an option available
of adding attachments to the form being sent to the address but I
don't know how. Is this something that I will have to do in a .php
code?The type of thing you want is possible, but if it needs to work with Reader the document must be enabled by LiveCycle Reader Extensions so it includes the embedded file usage right.
The best you can do with a file that's been Reader-enabled with Acrobat is to manually attach a file as a comment. A button can be used to display instructions, but that's it. There is also the licensing restrictions that come into play when you enable with Acrobat. -
Do ABAP WebDynpro objects need to be added to auth.object S_SERVICE in ECC6
do ABAP WebDynpro objects need to be added to authorization objects in PFCG in ECC6.0?
(Same as we add Java WebDynpro object names to S_SERVICE authorization object in PFCG)
Thanks,
TiberiuI found authorization object S_ICF where I can add the ABAP WedDynpro applications.....unless someone else has a different opinion, I plan to close this thread....
Tiberiu -
How to make adding attachments in the oaf page mandatory to the user.
Dear Friends
I did a attachment section with item style as attachment table,entity map,primary key concept in my details page
But I want to make this section (adding attachments in the oaf page) mandatory to the user.
Without adding the attchment user should not click SUBMIT.
[ Just like we give REQUIRED property to ant text input fileds to make entering them mandatory , Is there any property to set ]
Please share ur ideas .Please help.
Thanks
AravindaGyan's Oracle Application Framework Blog: OAF - Making mandatory Attachement Mandatory
iWiDi - This is how to make attachments mandatory in iExpense.
--Sushant -
BRFplus: Adding Intermediate Data Objects to Expression Workarea
Hi all,
running BRFplus on NW 70105.
I have a Step Sequence Expression with multiple steps calling various Functions. Some of the Functions return intermediate results which must be stored in the context workarea.
I would like to add these Data Objects to the workarea. However the system will not allow me to do this without first adding the Data Objects as signature parameters of the calling Function, even though this does not make sense for intermediate values.
Clicking the "Add existing Data Object" button for the workarea only allows me to add Data Objects which are in the context of the calling Function.
Conversely if a Data Object is deleted from the calling Function's signature, then when checked the Function issues error message "Assigned expression uses Element CUSTOMER/Customer which is not in the context".
Is the requirement to add all Expression workarea Data Objects to the calling Function's signature intended, or is this a bug ? Or is there some other way of doing it that I am missing ??
Thanks & regards,
GroganThis is a restriction in NW 701. This restriction is removed in NW 702.
-
Authorization for adding attachments only while approving P.O
Hi
We work with SRM5 SP14.
we are intrested in adding an authorization to PO approvers for adding attachments/texts in the "documents" tab in item & header.
Is this a customizing process or role change?
Thanks
HilaAnyone???
-
I want to know last Invoice Which i added through Business Object
Hi All,
I want to know last invoice details which i added by Business Object. Can you give the solution???????.
Please consider the multi-user environment and Document Series also.
Thanks in Advance
Regards,
G.SureshHi Suresh,
How r u?
You can get the docnum of last invoice added by DI.
I had done the same please refer the code below.
May this will help you...
Dim IRetCodeHeader As Integer = oInv.Add()
Dim DOCNUM As String
DOCNUM = objMain.objCompany.GetNewObjectKey
regards:
SANDY
Sandeep Saini | Roorkee | India on Dec 23, 2008 5:25 PM -
Adding hyperlinks to objects in 3D PDF
Hi everyone,
I'm trying to figure out if 3D PDF has the capability to import a number of individual machine models (made in SolidWorks) to create a 3D layout of a facility, and then make it so people viewing this layout can click (or doubleclick) on a machine and have that open a web page (or another .pdf file)...are there javascript routines that get called when one of the objects is clicked/doubleclicked? If so, can that script be used to open up a url?
Any help would be appreciated,
Thanks,
Jon FournierOn second thought, here is the an example code for adding hyperlinks to objects. It will be very tedious to do this for a huge number of parts. If metadata could be stored (no such luck) in the u3d file, this process would be very easy.
- Greg
http://www.immdesign.com
The u3d file and pdf example are available using the links:
http://www.immdesign.com/templates/hyperlink.pdf
http://www.immdesign.com/templates/robotHand.u3d
Parts of the code below were given to me by Grayson Lang.
The code below must be added as a document level javascript
use the menu - Advanced->Javascript->Document Javascript...
// -------- Start of Document Script
initialize3D = function ()
var a3d = getAnnots3D(0)[0];
var c3d = a3d.context3D;
if ( a3d.activated )
app.clearInterval( timeout );
c3d.runtime.doc = this;
c3d.runtime.app = app;
var timeout = app.setInterval( "initialize3D()", 200 );
// -------- End of Document Script
// -------- Start of 3D Script
// Save this code in as a .js file and use it as the default
// script when inserting the u3d file into your PDF file
// ugly code to add hyperlinks on selection of an object
// this will only work with URLs and will not work for
// just openning any old file
// format for the hyperlink array -
// hLinks["the object's name"] = "file URL"
var hLinks = new Array;
hLinks["fingertip-1"] = "http://www.immdesign.com"
hLinks["fingertip-2"] = "http://www.myroombud.com"
hLinks["fingertip-3"] = "http://www.adobe.com"
function onSelection( objName ) {
if ( typeof( hLink = eval( "hLinks['" + objName + "']" ) ) != 'undefined' ) {
if (runtime.app) { runtime.app.launchURL(hLink); }
// ack! we have to create our own "pick" function since there is no way
// to get the selected object from the Acrobat pick right now
var downX = -999999999999;
var downY = -999999999999;
var mouseDown = 0;
myMouseHandler = new MouseEventHandler();
myMouseHandler.onMouseDown = true; //this prop is true by default
myMouseHandler.onMouseUp = true; //this prop is true by default
myMouseHandler.onMouseMove = true;
myMouseHandler.reportAllTargets = false;
myMouseHandler.onEvent = function(event)
// capture mouse down location
if ( event.isMouseDown ) {
downX = event.mouseX
downY = event.mouseY
mouseDown = 1;
else {
// check if mouse up is the same location as mouse down
if ( event.isMouseUp ) {
if ( downX == event.mouseX && downY == event.mouseY ) {
if ( event.hits.length ) {
objName = event.hits[0].target.name;
onSelection( objName );
downX = -999999999999;
downY = -999999999999;
mouseDown = 0;
//Register the handler and turn the mule on
runtime.addEventHandler(myMouseHandler);
// ------ End of 3D Script -
Going to the last page of a table when adding a new object
I added a Table(com.sun.rave.web.ui.component.Table) on my page and a button outside of that table to add new object rows. My problem is that I want the table to move to the last page when I add a new object. Instead the default bahaviour is showing the first page. Even if the newly added row is on a page > page 1.
e.g If I have a table with 5 pages and I am on page 1 and I add an object I want to see the last page of the table where I added the new object. In other words I want it to go to page 5 or page 6 in case the number of the new object is > the number of displayable rows of a page.
I did it with Javascript but I just dont like it. I wanna do it programmatically.
Any help?
Thanks in advance guys!!!Hi!
Try to look here:
http://forum.java.sun.com/thread.jspa?threadID=5142038&tstart=45
Thanks,
Roman. -
ICal crashing after adding attachments
Hi folks,
Long time user of Mac here.
Recently, I have done something I have seldom done; adding attachments to my iCal. Some of these attachments are on the large size. iCal is now freezing and crashing to the point where iCal is not usable. I can't remove the files as iCal freezes before I hone in on any one day.
Help!I can no longer launch iCal 2.0.5 from my iMac G4. It crashes within seconds of launch. IPhone iCal application is only one that works. Deleted iCal, think I deleted all the preferences, Re-installed the application and it still crashes. Do I need to upgrade to OS10.5? I use mobileme to sync the calender, but iCal on G4 crashes on sync. Can't remember if this all started with new iPhone (had first generation previously). Have read all issues on this and none relate to my OS.
-
Adding attachments to a dynamic form
Hi there,
I am creating a dynamic PDF form and I would like users to be able to attach a file (e.g. a word file, photos) to the dynamic form.
Once the form is completed and returned (in PDF format) I want the person reviewing the form to be able to open the embedded attachments.
If this possible?
Many thanks for you help in advance
LeeThe user can add attachments by clicking the paper clip icon.
If you mean you want to add attachments through script or associated with a form field, below is an example where a form check box triggers adding an attachment. It adds an attachment with a description pulled from the caption of the check box. My check box captions end in : which is stripped.
//Change event of check box
{variable object in Heirarchy}.attachmentCheck(this, event.target);
//code in variable object
function attachmentCheck(checkField, myDoc) {
var descrip = checkField.parent.nodes.item(0).value.resolveNode("#text").value;
descrip = descrip.substr(0, descrip.length - 1);
//app.alert("\"" + descrip + "\"");
if (checkField.rawValue == "1"){
var cancel = true;
myDoc.importDataObject(descrip);
try {
var objDoc = myDoc.getDataObject(descrip);
objDoc.description = descrip;
cancel = false;
} catch (e) {}
if (cancel){
checkField.rawValue = 0;
} else {
mBoxResult = xfa.host.messageBox("Unchecking will delete the attachment.", "Confirmation", 2, 1);
if (mBoxResult == 1) {
var obj = myDoc.dataObjects;
for (var i = 0; i < obj.length; i++){
//app.alert("\"" + obj[i].description + "\"");
if (obj[i].description == descrip) {
//app.alert(obj[i].name);
myDoc.removeDataObject(obj[i].name);
} else {
checkField.rawValue = 1; -
Adding new info object to a cube.
Hi Friends,
This is a BI SYSTEM, we have a cube with existing data in it. Now we need to add a new info object to the dimension of the cube.
Now we can add the info object to the cube in 2 ways.
1. remodeling the cube
2. select the cube in RSA1 , RIGHT CLICK, IN CHANGE MODE add the info object to the dimension of the cube.
now my question is why we have the concept of remodeling, when we were able to add the info objects to the dimensions of the cube in the change mode.
kindly explain me in detail.
thanks.
Please search the forum
Edited by: Pravender on Mar 16, 2011 2:58 PMHi Soumya,
If you go by option 2 of adding Infoobject in Cube by going in change mode and adding the respective Infoobject in Dimension,
Then you have to delete Data first from the Infocube in order to add infoobject by this option. Otherwise it won't allow you to add infoobject.
But by remodelling option you can add the infoobject in dimension without deleting any data from Cube. But this option has its own limitations too.
Please refer the following link for Remodelling Concept:-
http://help.sap.com/saphelp_nw04s/helpdata/en/58/85e5414f070640e10000000a1550b0/content.htm
Hope it helps.
Regards,
Hardik
Maybe you are looking for
-
How do i change my ipod touch permanently from one apple id account to a new one
How do i permanently change my ipod touch from one apple id to a new one with my new ipad and have the same apps etc on both. Thanks.
-
Content purchased on Apple TV no longer syncing back to iTunes Main library
My Apple TV always linked perfectly before. However, after downloading the last iTunes update, purchases that I make on AppleTV do not load back to my main computer like they should. Is anyone else having this issue and how do I fix it?
-
Why is my ipad2 (16 GB) only showing 3.4 GB available when all of my APPS only total 3741 MB?
-
Hi I am currently trying to burn a 110 minute movie using idvd6, when it gets half way through the actual burning process (after all encoding etc has been done) i get the spinning beachball? I cant work out what the problem is - The mac is old but I
-
Why is it taking so long for music to download
When I check my downloads it just says waiting I have 4 down loading at once