Creating Extranet and Intranet in a single web application?
I'm confused ... again! Maybe you can help.
Microsoft's best practices for setting up SharePoint 2013 is to utilize a single web application in a single web application pool.
My Network Topology
I am setting up my intranet AND extranet in a back-to-back perimeter network topology using Claims and Kerberos Constrained Delegation. I will have a dedicated AD instance on the DMZ which my clients will be added to. My corporate users will access the site
via ADFS using their credentials on our internal network. There will be only a One Way Trust wherein the extranet AD will trust the corporate AD. We will be using Host named site collections and giving clients their own URL. They will basically be accessing
a single list and perhaps a page that gives them some reports about tasks across a few sub-sites and the a status of a single workflow on the root site of their site collection.
My SharePoint Topology
I would like to follow MS' Best Practice as stated above but I'm not clear on a few things.
1. Does it matter whether my extranet or intranet is on the Default Zone? I'm thinking that the intranet should be on the default since that is where Search crawls and that's the only place where search will be used in any way.
Is it possible to have two sets of permissions on a single web application, one for internal and one for external, without extending the default zone to create the extranet and thereby creating a new IIS website (webapp) in the process?
Thank you!
Love them all...regardless. - Buddha
Hi,
Please refer below.
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/47081f77-fccb-4bc3-906b-76d187861f8c/intranet-and-extranet-web-applications-on-same-port?forum=sharepointadminlegacy
http://blogs.technet.com/b/speschka/archive/2013/06/26/logical-architecture-guidance-for-sharepoint-2013-part-1.aspx
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c0702003-8d53-46cf-ac09-49cbd270a43e/extranet-access-to-the-intranet-web-application-sharepoint-2010?forum=sharepointgeneralprevious
Krishana Kumar http://www.mosstechnet-kk.com
Please mark the replies and Proposed as answer if they help and solve your issue
Similar Messages
-
How to create different log files for each of web applications deployed in OC4J
Hi All,
I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
1. how to create different log files for each of my deployed web applications ?
2. what are the advantages in running multiple instances of oc4j and in what case we should run
multiple instances of OC4J ?
3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
Thanks and Regards,
Kumar.Hi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
Can you run multiple Excel Services Applications against a single Web Application?
I have been struggling with this one for a while now, hopefully someone can help me understand what I am missing...
I have a single SharePoint Farm. This farm runs multiple Web Applications & the Service Applications.
1. SharePoint Only Server with Multiple Site Collections (http://sharepoint.com/...)
2. MS Project Server with Multiple Site Collections (http://pwa.com/...)
3. My services applications all exist on the same farm.
I was under the impression, and believe that I validated this through testing and from this site (http://blogs.office.com/2009/11/16/excel-services-in-sharepoint-2010-administration-improvements),
that you can only run a single Excel Services Application against each unique Web Application. In essence, I can run one Excel Services Application against the SharePoint Only Server, and another Excel Services Application against the MS Project
Server... However, I can NOT run multiple Excel Services Applications against the different Site Collections within the MS Project Server becuase it is only aware of its "default" Excel Service Application.
ie. I can NOT do the following: ExcelServiceApp1 for
http://pwa.com/SiteA & ExcelServiceApp2 for
http://pwa.com/SiteB
Is that correct?
If that is not correct, then I must be missing a way to specify a different Excel Service App for each Project Web App Site.
Some other solutions that I think may work, but would really appreciate if someone could validate:
- Create multiple Project Server Service Applications for each instance of PWA/Excel Service? (but wouldn't this still have to use one of the two WebApplications and cause the same limitation?)
- Create a new Web Applciation for each PWA/Excel Service? (ie.
http://pwasite1.com;
http://pwasite2.com; http://pwasite3.com, etc.)
Thoughts/suggestions are very greatly appreciated!!!Hello Trpy2k
I have not done what you are doing and I assume that you are using project server 2010. However, you answer lives in PowerShell.
The New-WebServiceProxy show that you can create a new proxy by spacing a URL and not a web application. The default proxy from the web application is directing to the default excel service. If you need another excel service, you must specify another
proxy and this may do it for you.
Also, don't forget the Secure State service and that each excel report will need this configured, that is with the assumption that the other excel service requires different authentication.
PS. This question may get a better answer in the SharePoint forums.
Cheers!
Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries -
How to create separate log files for each deployed web application in oc4j
Hi All,
I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
Thanks and Regards,
Ravi.Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
John H. -
Creating a offline version of an existing Web application
Hi,
I'm working on converting a small portion of an existing web application into offline version (using Webtogo platform and Oracle Lite 9i) . The Web application is developed using active server pages and Oracle 9i is used as backend. The offline version will be developed using Java Servlets and JSP's.
To give a small background, the existing system is used by the salesman to capture lead and contact informations. This system also provides the salesman with their customer details and sales history.
I would need some more details on DB triggers and stored procedure.
1. How to create DB triggers in Oracle Lite 9i.
2. My application has many triggers associated with a table. Do i need to created all of them in my offline version?
I don't need these in my offline version. But, if i don't include all the triggers, i get error while publishing an application.
Pls post you reponse.
regards,
Deepakjeffsese:
I have used the "duplicate the whole project" route with one variation, to moderate success. I use DollyXs to create the CS4 project and then copy the source files, one by one, to the new project/directory. After creating the project and before I move the source, I compile/link the project just to make sure I have everything pointing at the right place.
I know that some will scoff at my duplication of the codebase and sometimes I agreed with them, but we had one individual who tried to use the same codebase for all versions of InDesign, and whereas it took one of us a couple of days to make a simple change to all six different projects (Mac and Win) it took him three weeks to a month.
In the end you will have to decide for yourself.
R,
John -
How to dynamically define a file name and its path in a web application
Hi, I want to create a simple web application that reads from an XML file and displays the data back to the user. The xml file is created independent of my application on the same machine that the Application Server runs. How can I define my xml file name and/or path to be independent of my code and not hard-coded in my application?
By an external configurationfile? That can be a propertiesfile, a xml file, an ini file, a plain vanilla txt file, etcetera.
-
Hi folks,
i am really stuck with a problem which drives me mad.....
What i want:
I want to call the microsoft tool "handle" (see http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Handle.mspx) from within my web-application.
Handle is used to assure that no other process accesses a file i want to read in.
A simple test-main does the job perfectly:
public class TestIt {
public static void main(String[] args){
String pathToFileHandleTool = "C:\\tmp\\Handle\\handle.exe";
String pathToFile = "C:\\tmp\\foo.txt";
String expectedFileHandleSuccessOutput = "(.*)No matching handles found(.*)";
System.out.println("pathToFileHandleTool:" + pathToFileHandleTool);
System.out.println("pathToFile: " + pathToFile);
System.out.println("expectedFileHandleSuccessOutput: " + expectedFileHandleSuccessOutput);
ProcessBuilder builder = null;
// check for os
if(System.getProperty("os.name").matches("(.*)Windows(.*)")) {
System.out.println("we are on windows..");
} else {
System.out.println("we are on linux..");
builder = new ProcessBuilder( pathToFileHandleTool, pathToFile);
Process process = null;
String commandOutput = "";
String line = null;
BufferedReader bufferedReader = null;
try {
process = builder.start();
// read command output
bufferedReader = new BufferedReader(new InputStreamReader(process.getInputStream()));
while((line = bufferedReader.readLine()) != null) {
commandOutput += line;
System.out.println("commandoutput: " + commandOutput);
// wait till process has finished
process.waitFor();
} catch (IOException e) {
System.out.println(e.getMessage());
e.printStackTrace();
} catch (InterruptedException e) {
System.out.println(e.getMessage());
e.printStackTrace(); }
// check output to assure that no process uses file
if(commandOutput.matches(expectedFileHandleSuccessOutput))
System.out.println("no other processes accesses file!");
else
System.out.println("one or more other processes access file!");
} So, as you see, a simple handle call looks like
handle foo.txtand the output - if no other process accesses the file - is:
Handle v3.2Copyright (C) 1997-2006 Mark RussinovichSysinternals - www.sysinternals.com
No matching handles found.
no other processes accesses file!(Wether the file exists or not doesnt matter to the program)
If some processes access the file the output looks like this:
commandoutput: Handle v3.2Copyright (C) 1997-2006 Mark RussinovichSysinternals - www.sysinternals.com
WinSCP3.exe pid: 1108 1AC: C:\tmp\openSUSE-10.2-GM-i386-CD3.iso.filepart
one or more other processes access file!So far, so good.........but now ->
The problem:
If i know use the __exact__ same code (even the paths etc. hardcoded for debugging purposes) within my Servlet-Webapplication, it hangs here:
while((line = bufferedReader.readLine()) != null) {if i comment that part out the application hangs at:
process.waitFor();I am absolutely clueless what to do about this....
Has anybody an idea what causes this behaviour and how i can circumvent it?
Is this a windows problem?
Any help will be greatly appreciated.....
System information:
- OS: Windows 2000 Server
- Java 1.5
- Tomcat 5.5
More information / What i tried:
- No exception / error is thrown, the application simply hangs. Adding
builder.redirectErrorStream(true);had no effect on my logs.
- Tried other readers as well, no effect.
- replaced
while((line = bufferedReader.readLine()) != null)with
int iChar = 0;
while((iChar = bufferedReader.read()) != -1) {No difference, now the application hangs at read() instead of readline()
- tried to call handle via
runtime = Runtime.getRuntime();
Process p = runtime.exec("C:\\tmp\\Handle\\handle C:\\tmp\\foo.txt");and
Process process = runtime.exec( "cmd", "/c","C:\\tmp\\Handle\\handle.exe C:\\tmp\\foo.txt");No difference.
- i thought that maybe for security reasons tomcat wont execute external programs, but a "nslookup www.google.de" within the application is executed
- The file permissions on handle.exe seem to be correct. The user under which tomcat runs is NT-AUTORIT-T/SYSTEM. If i take a look at handle.exe permission i notice that user "SYSTEM" has full access to the file
- I dont start tomcat with the "-security" option
- Confusingly enough, the same code works under linux with "lsof", so this does not seem to be a tomcat problem at all
Thx for any help!Hi,
thx for the links, unfortanutely nothing worked........
What i tried:
1. Reading input and errorstream separately via a thread class called streamgobbler(from the link):
String pathToFileHandleTool = "C:\\tmp\\Handle\\handle.exe";
String pathToFile = "C:\\tmp\\foo.txt";
String expectedFileHandleSuccessOutput = "(.*)No matching handles found(.*)";
logger.debug("pathToFileHandleTool: " + pathToFileHandleTool);
logger.debug("pathToFile: " + pathToFile);
logger.debug("expectedFileHandleSuccessOutput: " + expectedFileHandleSuccessOutput);
ProcessBuilder builder = new ProcessBuilder( pathToFileHandleTool, pathToFile);
String commandOutput = "";
try {
logger.debug("trying to start builder....");
Process process = builder.start();
logger.debug("builder started!");
logger.debug("trying to initialize error stream gobbler....");
StreamGobbler errorGobbler = new StreamGobbler(process.getErrorStream(), "ERROR");
logger.debug("error stream gobbler initialized!");
logger.debug("trying to initialize output stream gobbler....");
StreamGobbler outputGobbler = new StreamGobbler(process.getInputStream(), "OUTPUT");
logger.debug("output stream gobbler initialized!");
logger.debug("trying to start error stream gobbler....");
errorGobbler.start();
logger.debug("error stream gobbler started!");
logger.debug("trying to start output stream gobbler....");
outputGobbler.start();
logger.debug("output stream gobbler started!");
// wait till process has finished
logger.debug("waiting for process to exit....");
int exitVal = process.waitFor();
logger.debug("process terminated!");
logger.debug("exit value: " + exitVal);
} catch (IOException e) {
logger.debug(e.getMessage());
logger.debug(e);
} catch (InterruptedException e) {
logger.debug(e.getMessage());
logger.debug(e);
class StreamGobbler extends Thread {
InputStream is;
String type;
StreamGobbler(InputStream is, String type) {
this.is = is;
this.type = type;
public void run() {
try {
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line=null;
logger.debug("trying to call readline() .....");
while ( (line = br.readline()) != null)
logger.debug(type + ">" + line);
} catch (IOException ioe) {
ioe.printStackTrace();
}Again, the application hangs at the "readline()":
pathToFileHandleTool: C:\tmp\Handle\handle.exe
pathToFile: C:\tmp\openSUSE-10.2-GM-i386-CD3.iso
expectedFileHandleSuccessOutput: (.*)No matching handles found(.*)
trying to start builder....
builder started!
trying to initialize error stream gobbler....
error stream gobbler initialized!
trying to initialize output stream gobbler....
output stream gobbler initialized!
trying to start error stream gobbler....
error stream gobbler started!
trying to start output stream gobbler....
output stream gobbler started!
waiting for process to exit....
trying to call readline().....
trying to call readline().....Then i tried read(), i.e.:
class StreamGobbler extends Thread {
InputStream is;
String type;
StreamGobbler(InputStream is, String type) {
this.is = is;
this.type = type;
public void run() {
try {
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
logger.debug("trying to read in single chars.....");
int iChar = 0;
while ( (iChar = br.read()) != -1)
logger.debug(type + ">" + iChar);
} catch (IOException ioe) {
ioe.printStackTrace();
}Same result, application hangs at read()......
Then i tried a dirty workaround, but even that didnt suceed:
I wrote a simple batch-file:
C:\tmp\Handle\handle.exe C:\tmp\foo.txt > C:\tmp\handle_output.txtand tried to start it within my application with a simple:
Runtime.getRuntime().exec("C:\\tmp\\call_handle.bat");No process, no reading any streams, no whatever.....
Result:
A file C:\tmp\handle_output.txt exists but it is empty..........
Any more ideas? -
Creating Sales Order in SAP from a web application database
Hello All,
I am trying to create a sales order from a web based package .Means a web based package is running in the system and the user will enter the sales order data in the web application and it gets saved in that database.
Now i want to retrieve the data from that database and post sales order in SAP using batch processing .
Can someone help me out how to do this ????
Please provide some sample codes .
Thanks,
AmitHi Amit,
Using Ado.net you can retrive the data from database
Refer This.....
Link: [url] SAP B1 Web Application asp.net DI Server DI API
Link: [url] Method of using ADO.Net connect to SAP Company DB
Thanks
Shafi -
How do I get info from Active Directory and use it in my web-applications?
I borrowed a nice piece of code for JNDI hits against Active Directory from this website: http://www.sbfsbo.com/mike/JndiTutorial/
I have altered it and am trying to use it to retrieve info from our Active Directory Server.
I altered it to point to my domain, and I want to retrieve a person's full name(CN), e-mail address and their work location.
I've looked at lots of examples, I've tried lots of things, but I'm really missing something. I'm new to Java, new to JNDI, new to LDAP, new to AD and new to Tomcat. Any help would be so appreciated.
Thanks,
To show you the code, and the error message, I've changed the actual names I used for connection.
What am I not coding right? I get an error message like this:
javax.naming.NameNotFoundException[LDAP error code 32 - 0000208D: nameErr DSID:03101c9 problem 2001 (no Object), data 0,best match of DC=mycomp, DC=isd, remaining name dc=mycomp, dc=isd
[code]
import java.util.Hashtable;
import java.util.Enumeration;
import javax.naming.*;
import javax.naming.directory.*;
public class JNDISearch2 {
// initial context implementation
public static String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
public static String MY_HOST = "ldap://99.999.9.9:389/dc=mycomp,dc=isd";
public static String MGR_DN = "CN=connectionID,OU=CO,dc=mycomp,dc=isd";
public static String MGR_PW = "connectionPassword";
public static String MY_SEARCHBASE = "dc=mycomp,dc=isd";
public static String MY_FILTER =
"(&(objectClass=user)(sAMAccountName=usersignonname))";
// Specify which attributes we are looking for
public static String MY_ATTRS[] =
{ "cn", "telephoneNumber", "postalAddress", "mail" };
public static void main(String args[]) {
try { //----------------------------------------------------------
// Binding
// Hashtable for environmental information
Hashtable env = new Hashtable();
// Specify which class to use for our JNDI Provider
env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
// Specify the host and port to use for directory service
env.put(Context.PROVIDER_URL, MY_HOST);
// Security Information
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, MGR_DN);
env.put(Context.SECURITY_CREDENTIALS, MGR_PW);
// Get a reference toa directory context
DirContext ctx = new InitialDirContext(env);
// Begin search
// Specify the scope of the search
SearchControls constraints = new SearchControls();
constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
// Perform the actual search
// We give it a searchbase, a filter and the constraints
// containing the scope of the search
NamingEnumeration results = ctx.search(MY_SEARCHBASE, MY_FILTER, constraints);
// Now step through the search results
while (results != null && results.hasMore()) {
SearchResult sr = (SearchResult) results.next();
String dn = sr.getName() + ", " + MY_SEARCHBASE;
System.out.println("Distinguished Name is " + dn);
// Code for displaying attribute list
Attributes ar = ctx.getAttributes(dn, MY_ATTRS);
if (ar == null)
// Has no attributes
System.out.println("Entry " + dn);
System.out.println(" has none of the specified attributes\n");
else // Has some attributes
// Determine the attributes in this record.
for (int i = 0; i < MY_ATTRS.length; i++) {
Attribute attr = ar.get(MY_ATTRS);
if (attr != null) {
System.out.println(MY_ATTRS[i] + ":");
// Gather all values for the specified attribute.
for (Enumeration vals = attr.getAll(); vals.hasMoreElements();) {
System.out.println("\t" + vals.nextElement());
// System.out.println ("\n");
// End search
} // end try
catch (Exception e) {
e.printStackTrace();
System.exit(1);
My JNDIRealm in Tomcat which actually does the initial authentication looks like this:(again, for security purposes, I've changed the access names and passwords, etc.)
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://99.999.9.9:389"
connectionName="CN=connectionId,OU=CO,dc=mycomp,dc=isd"
connectionPassword="connectionPassword"
referrals="follow"
userBase="dc=mycomp,dc=isd"
userSearch="(&(sAMAccountName={0})(objectClass=user))"
userSubtree="true"
roleBase="dc=mycomp, dc=isd"
roleSearch="(uniqueMember={0})"
rolename="cn"
/>
I'd be so grateful for any help.
Any suggestions about using the data from Active directory in web-application.
Thanks.
R.VaughnBy this time you probably have already solved this, but I think the problem is that the Search Base is relative to the attachment point specified with the PROVIDER_URL. Since you already specified "DC=mycomp,DC=isd" in that location, you merely want to set the search base to "". The error message is trying to tell you that it could only find half of the "DC=mycomp, DC=isd, DC=mycomp, DC=isd" that you specified for the search base.
Hope that helps someone.
Ken Gartner
Quadrasis, Inc (We Unify Security, www -dot- quadrasis -dot- com) -
How to handle jquery and ajax call in single page application using coded ui
Hi,
I am facing a very tricky situation while using coded ui. My application interact with ajax and I was facing the issue to handle the ajax in the login page and other pages. I went through the post : http://stackoverflow.com/questions/17849074/jquery-ajax-success-not-getting-triggered-with-coded-ui-test-project
and got solution for my problem. Now when ever a ajax is getting called in the page its getting handle with app config file. However the issue I am facing right now is.
When i click on a button a window will appear which is actually a "div tag". Please see the image below. In the that window when I have to select a item from drop down, the ajax will get called, however it will get called only for the window,
it wont be called for the entire page.. i.e. it will update only the window. I am not able to handle this ajax call, script gets stuck in refresh state. I will request you guys to provide a work around for it.
I would like to add more details - Visual studio version - 2013 update 3, IE11.
Application details: Its a single page application which uses bootstrap framework. All the ajax call are dynamic.
Thanks in advance.Thanks for the reply.
The window is not exactly a pop up window. Its a div tag in the same page. As this is my first time to work on a single page application I am not sure how it works. For the entire page I am able to handle the ajax call however the action performed
in the div tag is not getting handled.
Code for the window, I am not sure to what extend will it be helpful.
<div class="modal-content"><div class="modal-header"><div class="bootstrap-dialog-header"><div class="bootstrap-dialog-close-button" style="display: none;"><button class="close">×</button></div><div
class="bootstrap-dialog-title">Move Item to different task [FocusAudit]</div></div></div><div class="modal-body"><div class="bootstrap-dialog-body"><div class="bootstrap-dialog-message"><div><div
id="dashboard">
<table class="TFtable">
<tbody><tr>
<td colspan="2">
You are about to move the 24 selected item item to a different task. Select the task to which to move this item, (Optionally) enter notes about the task change, and click 'Change' to continue.
</td>
</tr>
<tr>
<td>Select New WorkFlow:</td>
<td><select class="form-control" id="MA_workflow" onchange="ChangeWorkFlow()"><option value="647446014">Batches<option value="647446007">Claim<option value="647446065"
selected="">Workflow1</option></select></td>
</tr>
<tr>
<td>Select New Task:</td>
<td><select class="form-control" id="MA_actions"><option value="647446025">BatchRebuild</option><option value="647446054">Complete</option><option value="647446039">DataIntegrityCheck</option><option
value="647446038">FocusAudit</option><option value="647446053">FocusAuditMiner</option><option value="647446037">FocusAuditSelect</option><option value="647446055">LocationRouter</option><option
value="647446029">MineForSBT</option><option value="647446022">OCRtoWebDE</option><option value="647446024">OnePass</option><option value="647446049">OnePassRouter</option><option
value="647446050">OnePassUS</option><option value="647446060">QAuditImporter</option><option value="647446045">QIAutoAuditGrader</option><option value="647446058">QIAutoAuditInjector</option><option
value="647446048">QIMiner</option><option value="647446040">QISampler</option><option value="647446056">QIVerify</option><option value="647446059">QIVerifyGrader</option><option
value="647446047">QIVerifyUS</option><option value="647446021">RecoRules</option><option value="647446082">Review</option><option value="647446042">Router</option><option
value="647446023">Validate</option><option value="647446081">Verify</option><option value="647446080">WebDEFileCreator</option></select></td>
</tr>
<tr>
<td>Select New Status:</td>
<td>
<select class="form-control" id="MA_status">
<option value="ready">Ready</option>
<option value="reject">Rejected</option>
<option value="hold">Held</option>
<option value="ready">Keep Status From Original Task</option>
</select>
</td>
</tr>
<tr>
<td colspan="2">Notes:</td>
</tr>
<tr>
<td colspan="2">
<textarea name="MA_statusnote" class="form-control" id="MA_statusnote" maxlength="250" rows="5" cols="40"></textarea>
</td>
</tr>
<tr>
<td style="text-align: right;" colspan="2">
<input class="btn btn-default list-inline" id="btnSubmit" onclick="prepareData_MoveToAction();" type="button" value="Change">
<input class="btn btn-cancel" id="btnCancel" style="padding-left: 5px;" onclick=" dialogInstance2.close();" type="button" value="Cancel">
</td>
</tr>
</tbody></table>
<div id="overlayDialog" style="display: none;">
<div style="width: 100%; text-align: center;">
<h1>Processing...</h1>
<img src="Images/ajax-loader.gif">
</div>
</div>
<div id="dData_MoveToAction" style="display: none;" data-itemcount="24" data-oldactionidno="647446079" data-oldstatus="ready" data-oldactionname="FocusAudit" data-fnparent="PS"></div>
</div>
<script id="scrpd" language="text/javascript">
<!--
var cworkflow =$('#MA_workflow option:selected').text();
function initMoveToAction()
function ChangeWorkFlow(){
$('#overlayDialog').show(300);
var _newworkflowname=$('#MA_workflow option:selected').text();
if(cworkflow!=_newworkflowname)
getItemType();
cworkflow = _newworkflowname;
function getItemType()
var _workflowid=$('#MA_workflow option:selected').text();
var formData = { workflowid: _workflowid}
var sPage = './Handlers/GenericFn.ashx?action=getitemtype';
$.ajax({
url: sPage,
type: "POST",
data: formData,
datatype: JSON,
success: function (data, textStatus, jqXHR) {
var newItemActions = jQuery.parseJSON(data);
$('#MA_actions').empty();
$.each(newItemActions, function(i, option) {
$('#MA_actions').append($('<option></option>').attr("value", option.Value).text(option.Key));
$('#overlayDialog').hide(300);
error: function (data) {
var error = jQuery.parseJSON(data.responseText)
SetProdSummary();
dialogInstance2.close();
ErrorMessage(error.ErrorCaption, error.ErrorDescription, error.IsCloseWindow);
function prepareData_MoveToAction()
var ma_oldstatus, ma_oldactionname, ma_actionidno,ma_oldactionid, ma_statusNote,ma_itemNewStatus,ma_itemtotalno, ma_newworkflowname,ma_fnparen;
ma_itemNewStatus = $('#MA_status option:selected' ).val();
ma_actionidno=$('#MA_actions option:selected').val();
ma_newworkflowname=$('#MA_workflow option:selected').text();
ma_statusNote = $("#MA_statusnote").val();
var params = $("#dData_MoveToAction");
if (params.data("oldstatus"))
ma_oldstatus = params.data("oldstatus");
if (params.data("oldactionname"))
ma_oldactionname = params.data("oldactionname");
if (params.data("oldactionidno"))
ma_oldactionid = params.data("oldactionidno");
if (params.data("itemcount"))
ma_itemtotalno = params.data("itemcount");
if (params.data("fnparent"))
ma_fnparen = params.data("fnparent");
var formData = { currentstatus: ma_oldstatus, oldactionid:ma_oldactionid,newstatus: ma_itemNewStatus, actionid: ma_actionidno, oldactionName:ma_oldactionname, statusnote: ma_statusNote,totalno:ma_itemtotalno, newworkflowname:
ma_newworkflowname,fnparent:ma_fnparen};
var sPage = './Handlers/ItemAction_MoveToAction.ashx?action=movetoaction';
$('#overlayDialog').show(300);
$('#btnSubmit').attr('disabled',true);
$('#btnCancel').attr('disabled',true);
$.ajax({
url: sPage,
type: "POST",
data: formData,
datatype: JSON,
success: function (data, textStatus, jqXHR) {
SetProdSummary();
$('#overlayDialog').hide(300);
dialogInstance2.close();
error: function (data) {
var error = jQuery.parseJSON(data.responseText)
SetProdSummary();
dialogInstance2.close();
ErrorMessage(error.ErrorCaption, error.ErrorDescription, error.IsCloseWindow);
-->
</script></div></div></div></div><div class="modal-footer" style="display: none;"><div class="bootstrap-dialog-footer"></div></div></div>
I agree the point the UI has to be active or else the script will have issue during the playback. In my scenario I have to work on that window. I have to perform action on it. Now when the window(div thing) comes up the page in the background goes disable
till the action is performed on the window or the window is closed. I have to perform action on it then only I can proceed with the TC automation. Please let me know any option to solve this problem.
Thanks
Ahetejazahmad Khan. -
Logotype and Current Date in PDF - Web Applications
Is possible to insert an image (company logotype) and a text (title and date) in PDF generate through Printed Version functionality? The generated PDF only contains result table of the report.
By the way, how can I insert current date in a web application? I dont want to use javascript because javascript would return de time/date of the end user computer.
Thanks in advance.
Best regards,
Raphael BarbozaHi Raphael,
Q1) Is possible to insert an image (company logotype) and a text (title and date) in PDF generate through Printed Version functionality? The generated PDF only contains result table of the report??
A)In PDF Print Properties you should be able enter "Title and Date" and also When you define command sequence make sure to call "Analaysis Item only" otherwise the whole template will be downloaded to PDF. Please play with the properties when defining Command Sequence.
Q2) how can I insert current date in a web application? I dont want to use javascript because javascript would return de time/date of the end user computer ???
A) Use Web Template "TEXT ITEM" and in the web item properties "LAST UPDATED or KEY DATE" is the property you should assign.
Sorry I dont have my system as of now to send you code for these but they are pretty easy.
thanks,
Deepak
SAP BI Consultant
D N Tech -
Can I copy text from a website or Facebook account and paste it into another web application?
Can someone read my question above and help to resolve. It does not make sense that I cannot copy from the web????
I've done it. Select your text, copy and then go into the other application and paste it.
If you want to see what it'll look like you can open the notes app or a word processing app and paste it there, then into your final destination. -
Look And Feel (branding) change in web application?
I am doing a research and I neeed advice from people who have more experience in dynamic customizing of java web applications.
In my custom case I have a simple login page with some images, labels and so on. The idea is to implement it in such a way to allow easy customization of some parts from the page.
For example let's say that the application is used by company AAA. Thay might want to change the logo image with their own image and change the default 'disclaimer' text with some other text by using appropriate admin module which allows user-friendly interaction.
The task seems very easy and it really IS very easy, I just wonder if there are any 'best practices' for such a situation.
One approach is to define all changable resources in standard .properties file. Having in mind that I have < 10 changable resources this seems reasonable enough. Anyway I still prefer to use additional table with two columns (key->value) which is the same as using .properties file, only the API to access these resources would be slightly different. I have in mind that the DB approach is somehow more flexible because in the future I might need more changable resources in more than one page, and reading/writing large .properties file might not be the best solution.
Any recommendations or other approaches to solve the 'problem'?U have an another option "XML".
sample :
<profile>
<company1>
<logo></logo>
<disclaimer></disclaimer>
</company1>
<company2>
<logo></logo>
<disclaimer></disclaimer>
</company2>
</profiles> -
Can I get from iConnect financijal and statistic report for single Newsstand application ?
I have problem to get full financial and statistic report for one single application?
Is there a posibilty thay kind of report doesn/t exist?
I can't belive...!Welcome to AppleWorks, a discontinued application. I'll try to get you to the iPad forum.
-
Single Sign on using SAML between JWS application and Web Application
Hi,
We have two applications one is swing based Java Web Start application and other is a normal web application. We are trying to enable single sign on between both the applications. Can SAML be used to enable single sign on? If yes, can some one let us know how to do this?
Thanks,
RamaThanks. But it is based on two WEB applications deployed on two different weblogic domains. What I am looking for is one application which is launched using Java Web Start(JNLP) and other a web application. The Java Web Start application uses its proprietary authentication implementation and the web application used DefaultAuthenticator of weblogic. Hope this detail will help you to answer my question better. I should have given this information earlier.
Thanks.
Rama
Maybe you are looking for
-
Does the original ipad have a camera?
my ipad user manual guide indicates that there is a camera . however i am not sure if it has one. my ipad is covered .hence i cannot check the rear.
-
Printing to Lanier MP C4500/LD445c
Hello, I'm trying to configure a Macbook Pro to use a Lanier MP C4500/LD445c. I've downloaded the Mac drivers from Lanier's site for this printer, but the readme included with them doesn't jive with the actual printer setup menus, so it's not clear i
-
A mutilple sources to multiple targets integration interface
I need to populate multiple target tables based on multiple source tables. Is there a way to do it using ODI? Many thanks, Irina
-
I can't stream photos from iPhone to mac after changing my iCloud profile, please help
After changing my email adress, thus icloud profile, my photos taken from my iphone won't stream to iphoto. Before the change everything was running smooth. I change my settings in both my mac and my iphone, and wifi is on just in case, please hep
-
Poor performance when refreshing BEx Analyzer workbook
We have a BEx Analyzer workbook that consists of about 10 worksheets, each displaying data from a different query. Refreshing the workbook in BEx Analyzer takes a very long time, typically 20 minutes or so. During this refresh process there is very l