Finding page references via API
I'm trying find page references similar to this wcm command:
http://localhost:7054/bin/wcm/references?_dc=1351102961060&path=%2Fcontent%foo
Is there an API exposed that provides this functionality so I can access it via an OSGi component without doing an HTTP request?
Thanks
Try http://wemcode.wemblog.com/get_asset_reference_in_page let me know if that helps.
Yogesh
Similar Messages
-
Acccess to HRMS via API's?
I would like to access the HRMS via API's so that I have my own presentation layer.
Question:
1. Is this possible
2. Where do I find the API ducumentation
3. Is the any example in either MS VB.Net or C#
Thanks in advance.
RegardsSee the following MetaLink collateral:
Note: 216838.1 - Oracle HRMS Product Family Publicly Callable Business Process APIs (A Reference Consolidation)
Oracle only supports the APIs listed in the following documentation:
* The Publicly Callable Business Process APIs topic in the guide Configuring, Reporting and System Administration in Oracle HRMS (Note: 214791.1) and in the help system.
* The Whats New in Oracle HRMS topic in the help system. This will list any new APIs introduced after the first version of a main Release.
Best Regards,
Greg -
Need Help Writing Server side to submit form via API
Hey
I need help writing a serverside application to submit
information via API to a separate server.
I have a client that uses constant contact for email
campaigns. We want to add to her website a form taht submits the
information needed to subscribe to her email list, to constant
contact via API.
FORM.asp :: (i got this one under control)
name
email
and submits to serverside.asp
SERVERSIDE.ASP
In serverside.asp i need to have
the API URL
(https://api.constantcontact.com/0.1/API_AddSiteVisitor.jsp)
username (of the constant contact account)
password (of the constant contact account)
name (submited from form.asp)
email (submitted from form.asp)
redirect URL (confirm.asp)
Can anyone help get me going in the right direction?
i have tried several things i found on the net and just cant
get anyone to work correctly.
One main issue i keep having is that if i get it to submit to
the API url correctly - i get a success code, it doesnt redirect to
the page i am trying to redirect to.
ASP or ASP.NET code would be find.
THANKS
sam> This does require server side programming.
> if you dont know what that is, then you dont know the
answer to my question. I
> know what i need to do - i just dont know HOW to do it.
If you are submitting a form to a script on a remote server,
and letting
that script load content to the browser, YOU have no control
over what it
loads UNLESS there is some command you can send it that it
will understand.
No amount of ASP on your server is going to change what the
remote script
does.
http://www.constantcontact.com/services/api/index.jsp
they only allow their customers to see the instructions for
the API so i
can't search to see IF there is a redirect you can send with
the form info.
But posts on their support board say that there is.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Access the Parameters of a SequenceCall via API
I would like to access several characteristics, like name and value, of the parameter(s) of a SequenceCall via the TestStand API,
but it didn't work.
First I get the object reference of the Class SequenceCallParameters via Class SequenceCallModule.Parameters. Now I
can determine the correct number of parameters via SequenceCallParameters.Count. Cause that works, I think I am on
the right way. To access the property object of a specific parameter, I get the object reference via SequenceCallParameter.Item and
the Method AsPropertyObject of the Class SequenceCallParameter.
I thougth with this reference I could access the properties of the parameter via the PropertyObjectClass, but I didn't get the correct information resp. I didn't know at which property the objectReference really points to.
I add an example sequence. I would get the information from the Sequencecall via the PreStepCallback.
I hope someone has an idea. Thank you in advance.
Regards Carsten
Attachments:
Example GetParameters from SequenceCall.seq 64 KBCKone,
You can use the API to access the parameter properties.
Once you get the parameter item you can treat that object as a SequenceCallParamer object.
The SequenceCallParameter object contains several of the properties you were trying to access:
SequenceCallParameter
Use objects from the SequenceCallParameter class to configure and obtain SequenceCallParameter-specific information for an item in the SequenceCallParameters collection class.
Properties
Name (Read Only)
PassByReference (Read Only)
Type (Read Only)
UseDefaultValue
UserData (Read Only)
ValidEvaluationTypes (Read Only)
ValueExpr
I modified your sequence file to use this object.
Hope it helps.
Antonio Lie
Attachments:
Example GetParameters from SequenceCall35.seq 65 KB -
In which table the initial balances will be stored when loading via api
Hi all,
I am doing initial balances migration...
In which table the initial balances will be stored when loading though an api.. (pay_balance_upload.process).
First I have loaded data in to pay_balance_batch_headers and pay_balance_batch_lines tables..
Then called the api pay_balance_upload.process. and the data was reflecting correctly in front end.
But we need to reconcile the loaded data.. for that, can anyone please tell me in which the loaded balances would be stored..
I have identified two tables, pay_assignment_latest_balances
and pay_latest_balances
when I try to create a balance from frontend I can see the data in pay_latest_balances table..
But when I load via api I am not able to find it in any of these tables..
In addition to that can anyone please tell me when the data will be populated in pay_assignment_latest_balances and pay_latest_balances tables.
Awaiting for your help and quick response..
Thanks and Regards
KishoreYou have followed the correct process..As Vignesh said, you can use pay_balance_pkg.get_value to make sure you have the correct values uploaded but otherwise if you are able to see the values in the front end I wouldn't worry about the latest balances tables. These tables, as the name indicate, hold only the latest values and if a payroll (ran post the initial balance upload) has been rolled back, these are deleted since they are no longer available.
You can refer the below Metalink notes for a detailed explanation:
The Secret Life of Initial Balance Upload with Screenshots Example [ID 60057.1] -
[JS] InDesign CS3: finding page of arbitrary object?
Is there a way to find the page which an arbitrary object is on? That is, for a TextFrame, Paragraph, Text, etc. Or at least a TextFrame?
I can't find a reference to a page anywhere but from the document!This is the function I use:
function findPage(theObj) {
var thePage = theObj;
if (thePage.hasOwnProperty("baseline")) {
thePage = thePage.parentTextFrames[0];
while (thePage.constructor.name != "Page") {
var whatIsIt = thePage.constructor.name;
switch (whatIsIt) {
case "Story" :
thePage = thePage.textFrames[-1].parent;
break;
case "Character" :
thePage = thePage.parentTextFrames[0];
break;
case "Cell" :
try {
thePage = thePage.insertionPoints[0].parentTextFrames[0];
break;
} catch (e) {
// must be overset, so ignore
return null;
case "Application" :
// must be off page, so ignore
return null;
thePage = thePage.parent;
return thePage
Dave -
page back won't work The page reference is lost in some cases regardless of web site or action taken(the problem is intermittent)
I have three home tabs and on some occasions if I open one of them and start to browse it I can't return to the top page. It doesn't always happen and it can happen on any of them. It made using apps impossible and the only way to correct the situation is to hit the home key and close the incorrect tabsIt's also possible your session history file is not updating correctly, because you should not be thrown back to an earlier state in a tab.
By default, Firefox updates the sessionstore.js file every 15 seconds with any changes. But occasionally Firefox may stop updating the file or may find that the file is locked and start creating a different sessionstore file (which is never restored and just sites orphaned in your profile folder).
Could you take a look?
Open your current Firefox settings (AKA Firefox profile) folder using either
* "3-bar" menu button > "?" button > Troubleshooting Information
* (menu bar) Help > Troubleshooting Information
In the first table on the page, click the "Show Folder" button.
In the window that launches, switch the view to Details and scroll down to the sessionstore files. You may find:
* sessionstore.js (current session)
* sessionstore.bak (previous session windows and tabs)
* sessionstore.bak-''datetime'' (windows and tabs at your last update)
* sessionstore-1.js (or other numbered files -- session history that couldn't be saved into sessionstore.js)
Note: If Windows does not display .js extension, please switch off the hiding of file extension using the procedure in this article: [http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions].
Anything odd about the timestamps or any numbered sessionstore files? -
Dynamic page references within document
I am working on a small binder style book that has 8 sections. The project is destined to be updated frequently and the client only wants to reprint the appropriate sections. So the question is, within the body text are numerous page references that will need to be updated as the page count potentially changes. I would like to use a section page numbering format (eg. 1-1, 1-2,...2-1, 2-2,...etc) to avoid conflicts with the TOC. Is there a way to tag the page references (see page 3-12 for more info) so that they will update themselves automatically, rather than having to find and replace them each time. I'm not even sure what this feature would be called.
Thanks for your help.
InDesign CS3
Patdtptools.com has a cross-reference plug-in for ID CS2, 3, and 4.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
Accessing the password store (PSTORE) via API
After having created portal users via API srcipt, we now would like to register users
for an external application programmatically.
I.e. we have a portal user and we know his account info ( user / passwd ) for the external application. Portal seems to store account infos for external applications in a "Password Store". So i am looking for an API to register portal users for external applications providing the known acount info,
i.e. sth. like
PSTORE.InsertExtAccount( PortalUser, ApplicationName, ExtUser, Extpasswd).
I had a look at http://www-sso.us.oracle.com/
but could not find API description or any hints when an API like that will go production.
Can anyone help me with that issue ?
Thanks a lot.
nullThis is probably the wrong forum for this question - I would try the 9iAS Portal forum.
-
I'm trying to find all references to a domain in ISE
We've renamed our internal domain and I'm looking for a way to find all references to our old domain so I can delete it. I've gone through all of the authorization/authentication/etc. and it still says "Error One or more of the groups being deleted are referred to by another component..." I don't know where it's being referenced to update/remove it.
Anyway to locate all references to an object?Hello David, unfortunately there isn't such a feature in ISE. I used to do voice for a while and CallManager has a nice feature called "dependency records" which would do exactly that :)
Here are a few places you can check and see if the AD configuration is being referenced:
- Identity Store Sequences
- Guest portal authentication
- Sponsor portal authentication
- My Device Portal
- ISE administrative access via AD
- Client Provisioning rules
- Posture Assessment rules
- Custom created authentication and authorization conditions that were saved to the library
- Default authentication/authorization conditions in policy sets
I hope this helps!
Thank you for rating helpful posts! -
How to create autofilter in excel page using jxl api?
Hi Friends,
I am using jxl api for excel generation. Its no problem
but i need to set auto filter options. I am search in this API package but i can't find it.
Any one know how to create autofilter in excel page using jxl api?.
Please ..... Its urgent.... ...
ThanksHi,
Please mail me on [email protected] if u will find any solutions, i will do the same if i will find any...
Thank u in advance, -
How to create page reference to my item numbers?
Hello! I need help to mark all my item numbers and then create a page reference to them so I can create an Index page.
Sample of my item numbers to find:
#12345
#12345-5
#12345-20
#12345-ABC
#12345/N
Please help and thanks in advance!Let's keep this in one thread, please.
http://forums.adobe.com/message/3196854#3196854 -
Special Character for in-line previous page reference:
OS: Windows XP Pro SP2
Software: IDCS2
I'm working on a document and I need to make an inline reference to an item two pages back (not a "continued on/from"). This document is used in two different books, and the page numbers change in each book.
Is there a way I can use an inline special character to reference that changing page number?
Thanks in advance,
EdI know it's not really cheating... but it's used in a way I wasn't able to find a reference for. And it's not truly an inline cross reference either, as I had to put this last paragraph with the character in it in a new text-box. But in the final product it will look like it.
What I was originally looking for was a way to do it in the same story as the rest of my text. But I couldn't, since that story was threaded to a different text box.
I guess I was looking to reference like an HTML anchor or something? But there wasn't really a built-in way of doing it.
And there are drawbacks: like you can only do this within the same document (I assume). And in many circumstances, you would have to add a new text box, since many stories would already be threaded.
I never claimed it was pretty! :) Just that it worked! -
Is it possible add or remove contact from a Shared list via API?
Hi Eloquan,
i'm preatty new in Eloqua and i'm wondering if is possible add/remove contact from a Shared list via API...
any help will be welcomed.
M.Gr8 not a problem why do you use a composite view pattern.
--->In that case make use of Proper patterns in your design before forwading it to a view.
---->Use a Public JSP Statically include JSP's in WEB-INF folder using static page include which happens at compile time.
REGARDS,
RaHuL -
A script to make all page references into hyperlinks
Hi,
I have a customer request to make all pages references into hyperlinks.
For example: when you see in the text of the PDF "page 4", you can click on it and move to page 4. This of course can be done manually with InDesign. The problem starts when you have whole load of them. In addition to that, I have this project as a book, with several different documents...
I used the script "Automatic hyperlink of each word in a file" from http://www.nobrainer.dk/automatic-hyperlink-of-each-word-in-a-file/ as a base, and modified it for my porpuse. Currently it still produces errors. Any idea what's the bug?
if (app.documents.length > 0) {
var myDocument = app.activeDocument;
var myHyperlinkStyle = myDocument.characterStyles.item("hyperlink"); // replace hyperlink with name of your char style for links
//alert(myHyperlinkStyle);
main();
} else {
alert("Please open a document");
function main() {
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
//the value to find
myFindVal = "page (\\d+)";
doSearchAndReplace(myFindVal, app.activeDocument);
// reset search
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
function doSearchAndReplace(stringfind, searchin) {
app.findGrepPreferences.findWhat = stringfind;
//Set the find options.
app.findChangeGrepOptions.includeFootnotes = true;
app.findChangeGrepOptions.includeHiddenLayers = false;
app.findChangeGrepOptions.includeLockedLayersForFind = false;
app.findChangeGrepOptions.includeLockedStoriesForFind = false;
app.findChangeGrepOptions.includeMasterPages = false;
var myFoundItems = searchin.findGrep();
for (i = 0; i < myFoundItems.length; i++) {
var item = myFoundItems[i].contents;
//the destination page
var destPage = item.slice(5);
var myHyperlinkDestination = myMakeHyperlinkDestination(destPage);
myMakeHyperlink(myFoundItems[i], myHyperlinkDestination);
myFoundItems[i].applyCharacterStyle(myHyperlinkStyle, false);
function myMakeHyperlink(myFoundItem, myHyperlinkDestination){
try {
var myHyperlinkTextSource = myDocument.hyperlinkTextSources.add(myFoundItem);
var myHyperlink = myDocument.hyperlinks.add(myHyperlinkTextSource, myHyperlinkDestination);
myHyperlink.visible = false;
catch(myError){
function myMakeHyperlinkDestination(myDestPage){
//If the hyperlink destination already exists, use it;
//if it doesn't, then create it.
try{
var myHyperlinkDestination = myDocument.hyperlinkDestinations.item(myDestPage);
myHyperlinkDestination.name;
catch(myError){
myHyperlinkDestination = myDocument.hyperlinkPageDestinations.add(myDestPage);
myHyperlinkDestination.destinationPage = myDestPage;
myHyperlinkDestination.name = myDestPage;
//Set other hyperlink properties here, if necessary.
return myHyperlinkDestination;well, after some more digging into it, I found the bugs and corrected, here is the corrected version (now I only need to figure out how to do it on an entire book...):
if (app.documents.length > 0) {
var myDocument = app.activeDocument;
var myHyperlinkStyle = myDocument.characterStyles.item("hyperlink"); // replace hyperlink with name of your char style for links
//alert(myHyperlinkStyle);
main();
} else {
alert("Please open a document");
function main() {
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
//the value to find
myFindVal = "page (\\d+)";
doSearchAndReplace(myFindVal, app.activeDocument);
// reset search
app.findGrepPreferences = NothingEnum.nothing;
app.changeGrepPreferences = NothingEnum.nothing;
function doSearchAndReplace(stringfind, searchin) {
app.findGrepPreferences.findWhat = stringfind;
//Set the find options.
app.findChangeGrepOptions.includeFootnotes = true;
app.findChangeGrepOptions.includeHiddenLayers = false;
app.findChangeGrepOptions.includeLockedLayersForFind = false;
app.findChangeGrepOptions.includeLockedStoriesForFind = false;
app.findChangeGrepOptions.includeMasterPages = false;
var myFoundItems = searchin.findGrep();
for (i = 0; i < myFoundItems.length; i++) {
var item = myFoundItems[i].contents;
//the destination page
var destPageNumber = item.slice(5);
var destPage = searchin.pages.itemByName(destPageNumber);
var myHyperlinkDestination = myMakeHyperlinkDestination(destPage);
myMakeHyperlink(myFoundItems[i], myHyperlinkDestination);
myFoundItems[i].applyCharacterStyle(myHyperlinkStyle, false);
function myMakeHyperlink(myFoundItem, myHyperlinkDestination){
try {
var myHyperlinkTextSource = myDocument.hyperlinkTextSources.add(myFoundItem);
var myHyperlink = myDocument.hyperlinks.add(myHyperlinkTextSource, myHyperlinkDestination);
myHyperlink.visible = false;
catch(myError){
function myMakeHyperlinkDestination(myDestPage){
//If the hyperlink destination already exists, use it;
//if it doesn't, then create it.
try{
var myHyperlinkDestination = myDocument.hyperlinkDestinations.item(myDestPage);
myHyperlinkDestination.name;
catch(myError){
myHyperlinkDestination = myDocument.hyperlinkPageDestinations.add(myDestPage);
myHyperlinkDestination.destinationPage = myDestPage;
//myHyperlinkDestination.name = myDestPage.name;
//Set other hyperlink properties here, if necessary.
return myHyperlinkDestination;
Maybe you are looking for
-
How do I create a vertical gradient in a table, not with an object?
How do I create a vertical gradient effect for alternating rows in a table? I'm trying to get my table cells to alternate and look like this: Thanks, freecondomap
-
I'm in the process of converting hundreds of PDFs to be 508 compliant and one of those steps includes adding tags to the document. What I'm noticing is that the tagging is moving some of the text to the bottom of or outisde of some of the tables. D
-
Title (Music Video) still renders "over black" when unselected
Hello I have an MPEG-4 video of about 5 minutes length in wide screen ratio. I am trying to add a Music Video type title to the beginning of the video. I want it to overlay and not do it over black. I uncheck and the preview shows it as it should as
-
What is the maximum number of table that can be created in a schema?
-
Dropdown using design layer .
Hi , I created a field zzalliance using eewb workbench. Then i tried to assign this field the dropdown box option using the design layer. I was unable 2 do this.I then assigned search help to my field. Now i m getting this field as a picklist on my U